활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi Experts
i have an requirement where i am trying to access the linked resource for the profile resource using content block. the linked resource contains offers for which is linked via email.
i can see the linked resources but when i am trying to access it using content block using context.profile.linkname, i am getting an undefined error.
Below are some of the path i have tried which are all undefined. any hint in the right direction will be helpful
/context/profile/cusFavonSaleDatalinkoffers1 - undefined
/context/profile/cusFavonSaleDataofferslink - error in email preparation
/context/profile/cusFavonSaleData - undefined
/context/favonSaleData - undefined while saving
/context/cusfavonSaleData - undefined while saving
/context/profile/linkoffers - undefined
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
can you provide the code you have written in the content block?
조회 수
답글
좋아요 수
can you provide the code you have written in the content block?
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
missed to put whole content. Below is the content block i have.
<p>above this is profile before fav initialization... below this is customm fav on sale data offerlink </p> <% for (var y in context.profile) { if (context.profile.hasOwnProperty(y)) { %> <%= y %> <% } } %> <p>above this is context... below this is customm fav on sale data offerlink </p> <% for (var z in context.profile.cusSavingsforyouofferslink) { if (context.profile.cusSavingsforyouofferslink.hasOwnProperty(y)) { %> <%= z %> <% } } %> <p>above this is context... below this is customm fav on sale data offerlink </p>.
when a profile doesnot have any linked offers email preparation goes fine. but, when there is an linked offer the email preparation throws the error. Below is what i see.
WDB-200001 SQL statement 'INSERT INTO NmsBroadLogExec(biBroadLogId,biMktBroadLogId,sAddress,iDeliveryId,iStatus,iFlags,tsEvent,tsLastModified,tsnextPass,sIpAffinity) SELECT biMessageId,biMessageId,sAddress,iDeliveryId,6,CASE WHEN sTargetCode='__BAT__' THEN 2 WHEN sTargetCode='__MAIN__' THEN 0 ELSE 4 END,tsEvent,GetDate(),tsEvent,E'default' FROM wkf40966864_1_1' could not be executed. 01/08/2020 11:41:37 AM PGS-220000 PostgreSQL error: ERROR: duplicate key value violates unique constraint "nmsbroadlogexec_id" DETAIL: Key (bibroadlogid)=(11756002) already exists.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수