Requirement – How to get intradoc server port in custom component in Webcenter Content.
Solution – We can use one class called sharedObject which give us environment value.One of my friend(Jonathan) helped me in this.
use SharedObjects.getEnvironmentValue(“IntradocServerPort”) will give you intraDocServer port.
Read more on http://jonathanhult.com/intradoc-api/intradoc/shared/SharedObjects.html
Quick tip in end of weekend
Happy coding with Vinay Kumar in Techartifact.