Thank you very much Vijay Kumar for the reply.
This Navigation Target I am able to get by Copy-ID option under Content Admin.
My requirement is I need to get it in my WD Java application. Is there anyway to achieve it?
My Case is:
1. I have a WDJ application under some role say for eg., Role-2
2. I will redirect it to an external site in the same window(which I am able to achieve) on some button action. After some operation there, that external site will redirect to my WDJ application under Role-2
3. When redirecting, I am giving a return URL as a parameter to that site. I give the redirect URL like http://<hostname>:<port>/irj/portal?NavigationTarget=pcd:portal_content/other_vendors/<sub-folder1>/roles<folder>/<Role-2>//<MyPage>
(Now I hard-code the URL when redirecting and it works perfect as expected)
My problem is:
In the future, my WDJ application might get moved under any Role (say- Role-3 or something). So hard coding the return URL is not the way to follow. I need to get this url (NavigationTarget part particularly) programatically inside my WDJ application.
PS: I am able to get this part: http://<hostname>:<port>/irj/portal
Any guidance on this part will be really helpful for me. If there is another way to achieve my case, please let me know that also.





