I am trying to add segment name to while activating a segment and export it to S3. Can someone help me | Community
Skip to main content
March 29, 2023
Solved

I am trying to add segment name to while activating a segment and export it to S3. Can someone help me

  • March 29, 2023
  • 3 replies
  • 1348 views
No text available
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AtulChavan

@bhanukonani , I'm not sure what is your use-case. Segment export will have only those fields that your schema has and hence your exported file.  If you have any downstream application consuming those files which needs segment name, I think what you can do is to have exported file organized by custom folder which would help you to provide right path to your downstream applications to ensure they're picking right segment export file. 

 

3 replies

Anil_Umachigi
Adobe Employee
Adobe Employee
March 29, 2023

Here's where you can do it, Check out this article which has details 

 

March 30, 2023

@anil_umachigi 
Thanks for your reply, This is to configure the file name. Here I am looking to add the segment name as new filed while exporting to the destination

Anil_Umachigi
Adobe Employee
Adobe Employee
March 30, 2023

@bhanukonani you mean within the content of what is exported? 

AtulChavan
Community Advisor
Community Advisor
April 2, 2023

Hi @bhanukonani , as default often destinations in AEP has file names consist of destination name, segment ID, and a date and time indicator. If  you want exported file name to have segment name instead segment id I think @anil_umachigi has already addressed it. 

 

However if you want to add custom folder per segment file in your S3, you can use macros in the folder path input field while setting up account authentication. 

 

E.g: Testroot/campaigns/2023/%SEGMENT_NAME%

 

April 3, 2023

Thanks for your response, I am looking for addition field to be added to the segment with segment name while exporting or activating the segment to S3 

AtulChavan
Community Advisor
AtulChavanCommunity AdvisorAccepted solution
Community Advisor
April 3, 2023

@bhanukonani , I'm not sure what is your use-case. Segment export will have only those fields that your schema has and hence your exported file.  If you have any downstream application consuming those files which needs segment name, I think what you can do is to have exported file organized by custom folder which would help you to provide right path to your downstream applications to ensure they're picking right segment export file.