내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

targetData in a direct delivery template

Avatar

Level 1

Hello.

I am facing a problem when creating a direct delivery template.
I want to add some columns to the extraction file and collect this values from the targetData.

Here is a part of the extraction file:

Output columns: (notice they have alias assigned:

manuelcantillo_0-1611327710859.png

targetData:

 

manuelcantillo_1-1611327780524.png

What I want to accomplish is that the targetData value goes to the output column without the need of assigned manually.

 

I was hoping that if I create a query and add some extra fields and assigned a alias per field, this fields will auto added to the output columns (from the extraction file) without the need to assigned manually.

 

Hope someone can help me out.

 

Thanks

 

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

Hi @manuelcantillo 

you have defined these columns with empty value inside. You cannot expect to be overwriten.

Instead, if you are sure these columns are always there just select them as other columns in output.

Regards,

Milan

 

원본 게시물의 솔루션 보기

5 답변 개

Avatar

정확한 답변 작성자:
Level 10

Hi @manuelcantillo 

you have defined these columns with empty value inside. You cannot expect to be overwriten.

Instead, if you are sure these columns are always there just select them as other columns in output.

Regards,

Milan

 

Avatar

Level 1
Is there a way to put a default value if the column does not exists?

Avatar

Level 1
Is there a way to put a default value if the column does not exists? or Do I need to create it like: IsEmptyString([targetData/@test],'' ,[targetData/@test] ) ?

Avatar

Level 10
Hi @manuelcantilo, you can define [targetData/@test] in delivery but I think delivery will fail if this column is not provided. You should test it anyway. You can create two deliveries (one with this field and another without) with one test node in front of them. So in case column exist/does not exist to point to respective delivery in order to avoid delivery failure. Regards, Milan

Avatar

Level 1

Is there a way to put a default value if the column does not exists? or Do I need to create it like:

IsEmptyString(NoNull([targetData/@test]),'',[targetData/@test] ) ?

Thanks