Skip to main content

#SFMC Email0 debatiendo

Hey đź‘‹đź‘‹....,

I need voucher to complete my certification in

#SFMC

, can anyone help me with this..

#Trailhead #Marketing Cloud #Analytics #Sfmc Email Specialist #SFMC Platform #SFMC Email
0/9000

I am very new to this, TYIA!!

I am getting this error while trying to loop in xml:

An error occurred when attempting to evaluate a ContentBlockByID function call. Function Call: ContentBlockbyID("193190") See inner exception for details.

Call to retrieve records via Fetch XML failed! Error in MscrmObject. MscrmObjectMethod: RetrieveByFetch. Detail: Input string was not in a correct format.

Error in MscrmObject. MscrmObjectMethod: RetrieveByFetch. Detail: Input string was not in a correct format.

Input string was not in a correct format.

%%[

var @i

var @XML

var @records

var @rowcount

var @ITEM_PRODUCT_NAME

set @XML = ""

set @XML = concat(@XML, "<fetch mapping='logical' count='1' version='1.0'>")

    set @XML = concat(@XML, " <entity name='ITEM' />")

        set @XML = concat(@XML, " <attribute name='ITEM_PRODUCT_NAME'/>")

    set @XML = concat(@XML, " </entity>")

set @XML = concat(@XML, "</fetch>")

set @records = RetrieveMSCRMRecordsFetchXML(@XML)

set @rowCount = rowcount(@records)

for @i = 1 to @rowCount do

    var @ITEM_PRODUCT_NAME

  set @record = row(@records,@i)

  set @ITEM_PRODUCT_SKU = field(@record, "ITEM_PRODUCT_NAME")

 

      output(concat("<br>ITEM_PRODUCT_NAME: ", @ITEM_PRODUCT_NAME))

 

next @i

]%%

2 comentarios
0/9000