I got a problem with a sendto link inside an email.
We have a news scenario created with the XML Forms Builder.
Now we introduced a "SendTo"-functionality. When you receive an email, there is a link inside with the webdav path to the news itself.
By clicking on that path and after authentication, the generic XML is opening without being rendered to HTML. Obviously, this is very unpleasant for the end user.
As bad is the possibility to join the news as an attachment. Here the original xml file is sent...
Who can give me an advice?
We are currently on EP6 SP2 PL 31.
Thanks in advance,
please check, if you are using "XMLFormsRepositoryFilter" for your repository. You can find it at:
There, you can add to the filter instance "xmlforms_filter" additional repositories (do not forget to restart, after changing the settings).
If what I understood is right(?) you have implemented your own SendTo functionality within your XMLForm.
And when the link is being generated, it points to the RAW xml.
This looks like a <b>semantically</b> wrong solution to me.
What I feel you should be doing is: insert a link in the mail, to the application/iView (instead of link to XML) within the portal that has the ability to understand the XML and render it. You may be passing the (webDav) location of the XML to this URL as attribute. Maybe you could generate the same URL link using the URLGeneratorService to do this for you(??).
Hope this helps!