cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate to another page after filling XML Forms edit form inside URLiView

former_member188498
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

former_member188498
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi,

How did you create a URL iView to display the Edit/Create portion of the XML Forms?

Thank you,

Lakshmi.

former_member188498
Active Participant
0 Kudos

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.

Former Member
0 Kudos

Hi Ladislav,

Thank you. Got that. Have you tried the above solution you had for your problem in an external facing portal (light framework, anonymous user)??

Thank you for your time,

Lakshmi.

former_member188498
Active Participant
0 Kudos

Hi Lakshmi,

no, I haven't tried it.

Regards,

Ladislav

Former Member
0 Kudos

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

former_member188498
Active Participant
0 Kudos

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

former_member188498
Active Participant
0 Kudos

Problem solved - thread closed