cancel
Showing results for 
Search instead for 
Did you mean: 

Display XML forms in a single window-URGENT!!!!!!!

Former Member
0 Kudos

Hi,

I created a project with XML forms Builder. It is working but the thing is that now i just want to display all the forms in the same window. Means that when i want to edit a new item instead of a new window i want to work in the same browser.

Is that possible by configuring a resource renderer(NewsRenderer for example)?

Otherwise do u know another solution?

Please i need help.

I found a topic in the forum (thread below) https://forums.sdn.sap.com/thread.jspa?threadID=46122&messageID=466382

But i didn't understand all the points.

So if someone know something please answer.

Thx in advance.

MJ

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi MJ,

as described by Detlev in the thread you mentioned you can either modify the SAP code for generating the XSL or you edit manually the XSL of your project.

The easier option would be the second one, but you have to keep in mind, that you have to do this steps after every new generation of your XML Forms project.

What you need to is, to go to the XML project folder (/etc/xmlforms/YOUR_PROJECT) and download the file YOUR_PROJECT_NewsRenderListItem.xsl. Search and replace "_blank" by the target type you like (see MS-link in the other thread), for instance "_top", "_parent", or "_self". Afterwards replace the existing file by uploading the changed one.

Hope this helps,

Robert

Former Member
0 Kudos

hi Robert,

Thx for your answer it helps a lot. But i don't know where i can find the XML project folder. I already asked about this but i didn't get any answer.

Regards

MJ

Former Member
0 Kudos

Hi MJ,

you can find it as described above in the /etc FS Repository Manager. Just go to Content Administration -> KM Content -> etc -> xmlforms -> YOUR_PROJECT

You can also find it on the file system of the portal server under <DRIVE:>\usr\sap\<SAP_SID>\SYS\global\config\cm\etc\xmlforms

Hope this helps,

Robert

Former Member
0 Kudos

Hi Robert,

I did as u said: I downloaded the file <u>YOUR_PROJECT_NewsRenderListItem.xsl</u> but i didn't find any <b>_blank</b> in the text. Let's say i have exactly the same problem than in the previous thread, i don't know where to add the URL and where to replace _blank.

I don't know where to find the method <u>CreateXSLDocument</u>(Detlev thread) and what is its interest?

Can u please explain where i can find "xinfo=window.open(url,'_blank',params)"? It should be (according to Detlev) in <u>com.sapportals.wcm.app.xfbuilder.server.generator.xsldocs.CreateXSLDocument</u> but i really don't know how to reach this address.

Thx a lot!!!

best regards

MJ

Answers (0)