cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Different layout for opportunties vs activities in interaction details

JEFODB
Participant
0 Likes
224

Dear experts,

for our client we had to extend the interactions with many custom fields. We have created them all successfully and published the custom field on the UI in the interaction details view under 'Spotlights accounts'.

However, some fields are only relevant to opportunities and others are only relevant to activities (tasks, appointments, phonecalls, ....).

Is it possible to differ the activity layout from the opportunity layout?

If you work via the 'adapt UI' you adapt the whole 'application' layout and thus you adapt the layout for both opportunities and activities since they are both handled as interactions in SAP Marketing Cloud. We would like to adapt only the layout for opportunities.

Accepted Solutions (1)

Accepted Solutions (1)

SCHNEIDERT
Active Contributor
0 Likes

Hi Jef,

I think you can use the BAdI CUAN_IA_REVISE_FOR_DISPLAY. Here you can change the UI for example based on the Interaction Type.

To give you an easy example: For Opt-Ins I wanted to show the ID in the interaction for which the Opt-In has been given.

IF interaction_data-ia_type = 'MKT_PERM_OPTIN'.

CONCATENATE interaction_data-ia_type_t interaction_data-id INTO line_2 SEPARATED BY ' - '.

ENDIF.

Hope that helps.

BR Tobias

Answers (1)

Answers (1)

former_member226
Employee
Employee
0 Likes

Hi,

Currently, there is no concept of different layouts based on condition (in your case interaction type) for Interaction Page UI. Only the interaction timeline view on contact profile can be adjusted based on the suggestion given by Tobias using BADI.