In the filter you typically have access to something named the binder (object type is DataBinder). You can access environment based properties like the HttpServerAddress environment configuration property with code like this in your filter Java Code:
String httpServerAddress= binder.getEnvironmentValue("HttpServerAddress");
System.out.println("HttpServerAddress=" + httpServerAddress);
UCM -FAQ
Tuesday, January 11, 2011
How to get Custom Meta data filed (selection box ) values through CIS ?
Here is the code to get the values of option list of view type:
new HashMap<String, String>();"schViewName", "subContentTypeView");the_context, IDC_GET_SCHEMA_VIEW_VALUES, attributes);"SubContentType");
new HashMap<String, String>();"schViewName", "subContentTypeView");the_context, IDC_GET_SCHEMA_VIEW_VALUES, attributes);"SubContentType");
ISCSAdministrativeAPI api = getCIS().getUCPMAPI().getActiveAPI().getAdministrativeAPI();
Map<String, String> attributes =
attributes.put(
ISCSServerResponse response =
api.executeIDCService(
List optionList = response.getResultSet(
What is the location on System Audit logs on windows system
First of all,you need to add UseRedirectedOutput=true to config.cfg and then restart UCM server . After this the log will start generating in the /bin directory for Windows. Log File name will be "IdcServerNT.log"
Monday, January 10, 2011
How to get rid of <fragmentinstance> tags in html output
<fragmentinstance> tags in HTML code does not look good and also not good for SEO. So In order to get rid of these tags, use wcmFragment. The wcmFragment tag that came with SiteStudio10gR4 is a great new way to reference fragments. The big improvement with this tag is that the fragment no longer needs to leave any XML code in your pages. Here's an example of how to use it:
<!--$wcmFragment("myID","myContentId","myFragment", "mySnippet","myParameter=value")-->
Subscribe to:
Posts (Atom)