Hello Experts,
We have a requriement in our WDJ to upload documents to ECM and then retrieve the URL and paste in an MDM table. We go the code to upload the document via ecm/default repository but when we are trying to retrieve the resourceURL, we are getting a very long URL. Even the print statements in code is unable to print the complete URL.
I am just wondering what configuration can be made to limit to the URL. Pasting the URL below just to give idea.
“../../qqqqqqqqqq.com/aaa~ui~vendor~cre_new/QuestionApp/~wd_cache_/~wd_key_eiJsSYb7b0n08G7A/hosts.txt?sap-wd-download=1&sap-wd-cltwndid=WID1382359916618&sap-wd-secure-id=xb5hr0VOOc62kV6Iqnp9zg%3D%3D&sap-ext-sid=ZevSoPSjMX9uLMqLI5aEkw--vfIZcWx6XDPJfduF3XsI3w--%2Fpcd%3Acom.sap.portal.system%2Fgpal_hidden_content%2Fgwd%2Fgbs%7Eui%7Evendor%7Ecre_new%2Fcom.qqqqqqqqq.aaa.ui.vendor.cre_new.wd.app.questionapp.QuestionApp_base%2Fqqqqqqqqq.com%2Fgbs%7Eui%7Evendor%7Ecre_new%2FQuestionApp%2Fbase%2F&sap-wd-norefresh=X&sap-ep-version=7.30.201211262147”
we need a small URL like http://FQDN/repository/../filename
Thanks in advance,
Vamshi