Executes rules for ".NET" for targetting.?
Comments
-
Hi Manish,
There are OOTB time based conditions which you can use for this scenario. Also, refer the SPDev guide for executing rules on pages which are rendered via IIS. I remember you need to add <autn:xsl> and <autn:rules> tags something like that in apprearance xsl section for executing the rules.
0 -
Hi,
The rule i am trying to execute is a simple 'static' image which will show this on page-preview and on runtime server. This is the rule i am trying to execute.
Rule:
<Data>
<Datum ID="D01" Type="Rule" Name="My Rule">
<ContentTypes>
<ContentType>$ALL</ContentType>
</ContentTypes>
<ActionParameters/>
<Option Order="1" Selected="true">
<Display>Test Targeting Text Result</Display>
<Value>targeting-heartbeat/Test Targeting Text Result.rule</Value>
</Option>
</Datum>
</Data>But this is giving 'java.lang.RuntimeException: Failed to execute rules and externals' while previewing.
& in content-center.log. it is showing following error.
Caused by: com.interwoven.wcm.lscs.LSCSException: com.interwoven.wcm.lscs.LSCSException: <html><head><title>JBossWeb/2.0.1.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 503 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested service () is not currently available.</u></p><HR size="1" noshade="noshade"><h3>JBossWeb/2.0.1.GA</h3></body></html>
at com.interwoven.wcm.lscs.impl.ClientImpl.getSuggestedMetadata(ClientImpl.java:384)
at com.interwoven.ui.tagui.idol.IdolTaggerLscsClient.processContent(IdolTaggerLscsClient.java:429)
... 43 more
Caused by: com.interwoven.wcm.lscs.LSCSException: <html><head><title>JBossWeb/2.0.1.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 503 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested service () is not currently available.</u></p><HR size="1" noshade="noshade"><h3>JBossWeb/2.0.1.GA</h3></body></html>
at com.interwoven.wcm.lscs.impl.JSONExtractionUtils.extractError(JSONExtractionUtils.java:177)
at com.interwoven.wcm.lscs.impl.Context.fetchURIAsStream(Context.java:235)
at com.interwoven.wcm.lscs.impl.ClientImpl.getSuggestedMetadata(ClientImpl.java:377)
... 44 more.Though LSCS is enable.
Any help will b helpful
0 -
LSCS might be enabled but it doesn't mean it's running correctly. Check your lscs.log for problems.
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.