Manage UME field into xml form builder show view
Hi all,
is possible to manage all UME user fields into show XMLForm?
I find some problem to add user field on show view , like phone number, city, address,...
I can only manage the following field:
username,
First name,
e-mail
Thanks in advance
Enzo Santoro
Hi Vincenzo/Enzo,
go to the Java API for UME here in SDN (AppSever/Java)and look for IUser or so... . The names used for the different user fields are shown (just see the get methods and compare what you have for firstname, lastname, email....)
Hope that helps,
Kai
Similar Messages
-
Uploading Files from KM into xml Forms Builder
Hi all,
I want to display a news in my Portal that is having link to the documents present in KM repository for that i m using xml Forms builder to make News .
when i go to
Content Management->Forms Builder->xml Forms Builder
->created an New Project
In that I have used a browser and mapped it with data schema having string type.
and used the same data schema in Renderlist form and in show form as Label but when i upload the file using Km navigation Iview . In the Layout set property of Navigation Iview i set it ot NewsExplorer and in another iview i set it NewsBrowser and when i upload it in the First iview and try to see in other iview than it only shows the path of the file and not texactly the file..
Could u suggest where i would be doing mistake or send me steps to do the same
Thanks in Advance.hi Naveen,
Checkout the link..,
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/creating xml forms 6.0
it provides step-by-step guide to ur problem..
hope it helps..,
regards,
Vinoth -
Hi Experts,
I have a requirement in XML Forms, When I click a particular news item in Renderlist Form, I need to display the Show Form in the same window without opening a new window. If it is possible, please guide me, How do I do that? And also, can I specify the size of the Show Form?
Regards,
Venkatesh. KHi Venkatesh.
To realsize your ideas you have to build your own XSL or to customize the SAP generated XSL files. We build own XSL files.
1) It is possible to present the Show Form in the same window.
Go to the JAVA SCRIPT SECTION. It is mostly at page bottom. The function open_url_with_params(url,params) is used to open the Show form. In this function window.open(url,'_blank',params) is called. Replace _blank to desired value, e.g. _self.
2) If the Show Form opens in a new window it is possible to specify the size and position of this window.
To realize this go to the link references Show form (open_url_with_params). The function is called with the url and some parameters, e.g. toolbar=no, ... . Add the params width, height, top and left here.
Regards,
René -
Disable field on XML Form Builder
Hi!
I can disable a field in a XML form . For example, the date of creation and the SAP user, so that the user does not change this information. Thank you very much!Hi David,
Do not use "date of creation" and "SAP user" fields in "Edit" form. You don't need to add this fields to "Edit" page of your xml forms since they are available as Properties.
In the Project Browser go to
Expand Properties -> System item and you can see
"Created By" -> for Sap User and
"Created" -> for date
You can use lots of variables here in your RenderListItem and Show views.
Hope this helps.
Regards
Abdul. -
Missing permissions to delete temporary files in xml forms builder
Hi,
we have the following problem:
A user with role content manager is using the xml forms builder. Every time, he is saving or generating a project, a error message comes up, telling him, that some files *.xml.xlb.___save_file could not be deleted. Those are temporary files which are created during editing (I guess?!).
As recommended by SAP, the content manager only has read/write permission on the used KM-folder. If the user has the role (NOT group!) Administrator, everything works just fine. The same is true when the permissions are added manually. Is this the only way to solve the problem or am I missing some configuration?
Help appreciated.
Best regards,
Hauke SiehlmannDear Hauke,
Hope you found a solution in the meantime for this permission issue. Hence I just give a very general comment on this. Generally such content admins are supposed to be System Principals in CM by role assignment.
By this concept and default delivery on this it is assured that users having access to administrative iViews by role assignment does also have relevant permissions. See http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm.
Whenever having custom specific roles this System Principal concept should be part of the design.
Best Regards, Peter -
Show user´s name and lastname using XML Form Builder
Hello
I created a XML project with XML Form Builder and i have to show user´s name an lastname in RenderListItem form.Can anybody help me,please? ThanksHi Unai,
check out the description by Patricio in this thread:
https://forums.sdn.sap.com/click.jspa?searchID=78716&messageID=1616027
Hope this helps,
Robert -
XML Forms Builder: Sorting news based on a date field in a XML form
Hi Experts
I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
The users who post the news in our portal needs the information to be sorted based on a date field shown.
Thank you
Best regards
Ramamoorthy DHi Experts
I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
I removed the property link from the screen field Input field.
Thank you
Best Regards
Ramamoorthy D -
Error writing output with iview for xml form builder
Hi,
I created a Xml Form Builder's project in which I developed an "Edit" and "ListEdit" sheet.
I also created an iview for theese in which the code link is:"com.sap.km.cm.xmlform",and the field for Style Sheet for List and for single item are set up correctly,but when I tried the preview the following error message happened:
com.inqmy.lib.xsl.xslt.XSLOutputException: Error writing output. -> org.w3c.dom.DOMException: Root Element is already present, cannot be appended as a child.
could someone help me?
thank's a lot!
Nick.Hi,
Now I'm confused,what do you mean with create new data? Are users editing existing documents
(as if they go to a document example.xml > edit) or they are creating new documents (as if they go
on folder > new > forms)?
The problem is, in both cases a user would need read/write permissions.
The normal flow content (data) is created in KM is as follows:
1. user is assigned to a role
2. role contains KM Navigation iView
3. KM Navigation iView executes com.sap.km.cm.navigation component
4. user chooses New > Form UI command (edit_xml_forms)
5. edit_xml_forms UI command executes its code (com.sapportals.wcm.rendering.uicommand.cm.UIXMLFormsCreateCommand) and open xml edit for the user
6. user fill the form and click Save, form is created into folder
For what I understood so far, your requirement basically asks you to go directly to step 5, it is
possible to pass a URL that goes directly to step 5, the UI command button, but if you do that
you won't have a context, so chances that it will work are slim, since a context is required to
fill the parameters asked by the app (like folder, user, permissions, etc). Even though, in some cases you can
still pass the parameters via post in the URL but you must know which service/parameters the
app asks for it, also a URL is static...
That was the create scenario, I think it's more cons than pros, users would still be
able to bypass the URL iView created for that, I'd suggest evaluating again if it's really
a problem having users access cm to manage data
kind regards,
Rafael -
Creating radio buttons in XML Forms Builder
Hi everyone,
I can't seem to find any instructions on how to create Radio Buttons in XML Forms builder, anyone has a link or instruction on how to?
Thanks,
SamerHi Samer,
So taking the example for the slides, you need first to create a new child under DataModel for the DataSchema. You can name it "Gender".
Click on the Radio Button in the Toolbar and drag "Gender" from the left hand site into the Edit Form.
It should have already a first radio button and in the box on the bottum right you should see the reference in the Schema Reference field (/DataShema/DataModel/Gender).
You can now drag a second button from the toolbar and place it behind the first one. Make sure you add the same value in the Schema Reference field.
On the Show form or RenderListItem you need a Control Selector as mentioned on slide 18. You can just use right mouse click -> Add. Go on the new item on the right hand side, and click on "Add Multiple Labels". You can choose now how many radio buttons you have, here 2.
In our example enter in one Label "Condition" = "true" and "Label" = "Male" and in the other "Condition" = "false" and "Label" = "Female".
Finally, make sure that the Control Selector has the Schema Reference also as defined above (/DataShema/DataModel/Gender).
Hope this helps,
Robert -
Creating a iview for XML Form builder Edit Form
Dear Experts
I have created an XML Form builder application which has Edit from,Renderlist and Show form. I able to create a datafile in by going to content manager. My requirement is to create an iview for Edit form so that i can assignt he ivew to end user to fill this form. I dont want to give content admin to end user.
I need to create an ivew to XML Form builder Edit Form
Regards
NoelHi,
Now I'm confused,what do you mean with create new data? Are users editing existing documents
(as if they go to a document example.xml > edit) or they are creating new documents (as if they go
on folder > new > forms)?
The problem is, in both cases a user would need read/write permissions.
The normal flow content (data) is created in KM is as follows:
1. user is assigned to a role
2. role contains KM Navigation iView
3. KM Navigation iView executes com.sap.km.cm.navigation component
4. user chooses New > Form UI command (edit_xml_forms)
5. edit_xml_forms UI command executes its code (com.sapportals.wcm.rendering.uicommand.cm.UIXMLFormsCreateCommand) and open xml edit for the user
6. user fill the form and click Save, form is created into folder
For what I understood so far, your requirement basically asks you to go directly to step 5, it is
possible to pass a URL that goes directly to step 5, the UI command button, but if you do that
you won't have a context, so chances that it will work are slim, since a context is required to
fill the parameters asked by the app (like folder, user, permissions, etc). Even though, in some cases you can
still pass the parameters via post in the URL but you must know which service/parameters the
app asks for it, also a URL is static...
That was the create scenario, I think it's more cons than pros, users would still be
able to bypass the URL iView created for that, I'd suggest evaluating again if it's really
a problem having users access cm to manage data
kind regards,
Rafael -
I want to design a News like the *LInklist* by XML Form Builder
Hello:
Everyone!
Now I have another problem about XML Form Builder
I want to design a News like the LInklist by XML Form Builder
I want the result,For Example
SAP News
1news1
2news2
3news3
who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
Thanks a lot
Hope your help!Hi,
In XML Form
1) Edit form is used for designing the user interface.
2) Show form is used for displaying the xml form to the end user
3) RenderListItem is used for rendering the xml form into a small description like 1News1, 2news2 etc..
Here you need to display only the heading of the xml form
After you create the xml form
Create Layout set where you need to give the proerties like xml renderer form , no of items to display etc...
Thanks&Regards,
Raghu -
Hi All,
In my xml form builder application, i have to insert an image inside the UI "HTML Editor". But there is no option called as "insert image from km" into the HTML Editor? How can i have that option called "Insert Image From KM" ?
I tried "configuration of the HTML editor" in
Knowledge Management Content Management Utilities Editing HTML Editing.
I enabled the option "Allow Images". Then too it is not reflecting in HTML Editor UI.
What else can be done for getting that property on HTML Editor UI?
Thanx and Regards,
DivyaHi,
My understanding is that the standard HTML editor control from SAP is quite limited. You can copy and paste an image into it (but the image has to already be in KM) - it has no nice control for selecting or positioning the image....
Some options:
1. There are options like TinyMCE which I belive can be used in place of the standard HTML editor control.
2. If the structure of the content on you page is fixed then you could add images into the form as images that the user would provide links for - but this is not as free form as you would maybe like.
Hope this helps,
Simon -
XML Form builder - Issue with Reset button
Hi Experts,
Using xml form builder I have created a project.In the show form I have added the "Reset" button.
This reset functionality is working fine during creation of new xml file item.
But when I am editing the existing xml file , onclick of the "Reset" button it is not clearing all the data fields instead it is clearing the newly added data.
Please sugguest me how to achieve this functionality of clearing the fields during editing existing file item.
Thanks,
Regards,
Rudradev Devulapelli.Hi Rudra,
Try writing custom java script and call the same in the button click.
~Priya -
How to reference a file with the XML Forms Builder?
Hello,
I've created a form at the XML Form builder (I am using NW 04). This enables the users to create new topic.
I've created at at the "Edit" form an option to upload a file along with the new topic. The file is being saved in a subfolder of the topics main folder.
My question is how to create a link to the specific file that has been uploaded with it's specific topic at the "Show" Form? Note that the subfolder contains files of many topics, I want to link to this specific file uploaded with it's relevant topic when created. How do I do that?Hi Roy,
> I've created at the "Edit" form an option
> to upload a file along with the new topic.
What I expect that you have done is to add a browse functionality which browses within KM with the possibility to upload an image into KM?! As done within SAP Demo News?!
If that's the way, just compare the SAP Demo News: Create /DataSchema/News/image and map it to the browser, whereas in the show form part you'll map it to an image.
If I didn't understand you right and the issue is still open, please report...
Hope it helps
Detlev -
In XML form builder data schema not clickable
Hi ,
I have installed JRE version 1.6.0_07. When i click on xml foms builder ,it gets opened but when i click on data schema it's not clickable but icon is displayed next to data schema.I am not able to create any node in data schema.
Regards.
Adity.Hi,
my problem is simular to Aditys: My Java Version is JRE 1.6.0_15. When I go to Content Managment --> Formbuilder, the XML Forms Builder starts automatically but it is not possible to open Data Schema. After downgrade to Java 1.4 I can not start the Form Builder, that means, after clicking on "Form Builder" in the Portal, a pop-up opens, but the XML Form Builder does not load.
Can you help me?
Jannis
Maybe you are looking for
-
Get Back to my Mac to Wake from Sleep
Hello. I am having trouble accessing my home iMac over the internet when it is in sleep mode. I am running Mountain Lion with an Airport Extreme. I have Back to My Mac enabled. I have no problem accessing the computer over the internet when the c
-
Media Encoder CS6 won't make mpeg-2 files.
Like the title says. Specifically, MPEG2-DVD files. Premiere exports them just fine: But when I hit "Queue" and go to AME, I get this: And attempts to change the setting to my desired one are futile: Googling the problem lead me to various threads on
-
I can't get my iTunes to update to the new version.
I updated my iPod and so I need to update my iTunes. When I try it tells me this: "Error writing to file: C:\Program Files\Common Files\Apple\Mobile Device Support\SyncServices\Schemas\Calendars.syncschema\Contents\Resources\ja.lproj\L ocalizable.str
-
ITunes 10.1 with video Airplay is out
Will we need an AppleTv 2 software update... Here goes trying...
-
Mouse tracking always reset to a specific area point
Hi, My iMac mouse always reset to a specific area of my screen every time I move it. I thought that it was the magic mouse tracking that was bugging but it's not : the same problem occurs when I'm using the ScreenSharing app with my computer on shari