Wednesday, April 18, 2012

Generic links for WebCenter Spaces

In most of the tutorials you normally do some step by step examples and mostly you have use absolute links like this one:

http://<host name>:<port number>/webcenter/spaces/<name of the Space or Subspace>/admin

All good, until you move this to another environment or change to HTTPS for example. How about using some expressions and do this generic. For example using the navigation rules into WebCenter Spaces you can do something like this:


image


Basically very easy, this will generate your URL, so you do not have to worry of any static URL’s anymore. In this example I wanted to create a link which always sends me to the administration of the current spaces.

No comments:

Post a Comment