on 07-23-2007 12:04 PM
Hi,
I have created an URLiView which points to the create form of xml forms.
When I open this iView, the xml form is being displayed. After I enter data into
this form and click Save, the form correctly disappears and the iView displays nothing - it's empty.
The problem is that I want to display some additional info after the form is created like "The form has been created"
Any ideas how to accomplish this?
Regards,
Ladislav
Hi,
Thanks for points. It is interesting. Can you plse explain in detail what you have done and what are the permissions you have set in repository manager. Now r u able to display edit form directly in iview (r u using url iview) and display custom message like "Form is saved...." ?
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've used URLiView to display xml form. The custom message can be displayed by modifying generated HrefSubmit javascript method in ProjectEdit.xsl file.
I've also modified a scenario <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd8d1040-0901-0010-669d-c95d5a2bbcdf?prtmode=navigate">How to Implement a Single Folder - Multiple Authors Scenario</a>
so that the author cannot have access to his documents - I've used internal service user to change permissions and permission owners of the created xml forms document.
I've also set internal service user as permission owner of the folder in which the documents will be created. In addition, users, which can create xml documents should have read/write access to this folder.
Regards,
Ladislav
Hi Lakshmi,
Create URLIView and in URLiView property page you have to set the following fields:
URL: /irj/servlet/prt/portal/prtroot/com.sap.km.cm.xmlformedit
URL Parameters (example):
XMLFormID Project [xml form project name] String hidden
post/path /documents/files/ [where will be saved] String hidden
createmode true String hidden
Regards,
Ladislav.
Hi,
Create a KM Navigational iview (set the value of path property to the path of your km folder) and set the layout set property to "NewsExplorer". Give the user to whom the iview is assigned, read/write permission on the km folder.
Now when you see the preview of this iview, you will see the list of items created before and a "new" link to create a new item. So the user can immediately see the item he has created appearing in the list of items and thus knows that the item is created.
Hope this solves your problem. Consider awarding points.
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for the helpful answer, but my problem was a little bit different.
Of course points to go
I had special requirements so that the xml edit form be displayed inside iView without user having to click at links (ie. new) and also that users don't see any forms created by them or anybody else.
I solved it by displaying xml forms in popup iView and also by changing permissions of created forms with repository service.
Regards,
Ladislav
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.