Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OWCS Flex Asset assetset:getattributevaluesTag gives Error No : -4

User_ZTENDFeb 2 2021

Hi All,
After seven years I am trying to make my hands dirty in OWCS technology.
I am trying retrieve flex asset FirstSite values using the below code snippet.
But it returns me error no -4.
---------------------------------------------------------------------------
code snippet:
---------------

<%@ taglib prefix="cs" uri="futuretense_cs/ftcs1_0.tld"
%><%@ taglib prefix="ics" uri="futuretense_cs/ics.tld"
%><%@ taglib prefix="render" uri="futuretense_cs/render.tld"
%><%@ taglib prefix="fragment" uri="futuretense_cs/fragment.tld"
%><cs:ftcs><%-- /PlsFlexAsset	--%>
<%-- Record dependencies for the Template --%>
<ics:if condition='<%=ics.GetVar("tid")!=null%>'><ics:then><render:logdep cid='<%=ics.GetVar("tid")%>' c="Template"/></ics:then></ics:if>
<assetset:setasset name="flexAsset" type='Product_C' id='1114083739596' />	
<assetset:getattributevalues name="flexAsset" typename="Product_A" attribute="FSIIPrice" listvarname="AbstractList"/>
<assetset:getattributevalues name="flexAsset" typename="Product_A" attribute="FSIISKU" listvarname="bodyTextList"/>
<ics:listloop listname="AbstractList">
  	<ics:listget listname="AbstractList" fieldname="value" />
</ics:listloop>
<ics:listloop listname="bodyTextList">
  	<ics:listget listname="bodyTextList" fieldname="value" />
</ics:listloop>
Error Single Value : <ics:geterrno />

-------------------------------------------------------------------------------

The above mentioned code snippet gives error code -4
Sites.log displays the below error.
Highly appreciate your help in fixing this issue.
[2021-02-02T14:12:16.070+00:00] [wcsites] [ERROR] [] [oracle.wcsites.jsp] [tid: 689] [ecid: 0000NTZ0VZqFw005zzp2iW1W6H^U00000L,0] ics:listloop tag failure: list 'AbstractList' not found! pagename: TestFlexAsset element: TestFlexAsset
[2021-02-02T14:12:16.071+00:00] [wcsites] [ERROR] [] [oracle.wcsites.jsp] [tid: 689] [ecid: 0000NTZ0VZqFw005zzp2iW1W6H^U00000L,0] ics:listloop tag failure: list 'bodyTextList' not found! pagename: TestFlexAsset element: TestFlexAsset
Thx
Dhaya

Comments
Post Details
Added on Feb 2 2021
2 comments
206 views