Skip to Content

XMLForms saves link to KM with absolute path

Hi all,

I see some strange behavior in saving XMLForms.

I have created a custom WDJ which creates an XMLForms document with attachments and embedded images (both stored in KM) and the links to these resources are saved with a relative path, i.e. "/irj/go/km/docs/documents/images/myimage.jpg"

This works perfect, and these generated XMLForms documents are being displayed correctly.

However, if a user decides to edit the XMLForms document afterwards and subsequently saves the modified article, all relative links are changed to its absolute location, i.e. "http://my.domain.com/irj/go/km/docs/documents/images/myimage.jpg".

Is there any way I can restrict using the absolute path, or not touching URL's in XMLForms at all?

Your help is much appreciated!

Robin van het Hof

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Sep 26, 2013 at 09:39 PM

    Hello Robin,

    This was a known issue which was documented in SAP Note 1413223. You will need to regenerate the XFB projects in XML Forms Builder for this to take effect.

    Kind regards,

    Lorcan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.