cancel
Showing results for 
Search instead for 
Did you mean: 

C4C SDK: Dropdownlists are listing all values. Need only restricted values

gayathri_ramachandran
Participant
0 Kudos

Hello Experts,

In one of our requirement, it was required to create Activity Type - Task for a Custom BO. I have used ListModificationStructure and created it successfully. In this I have a problem, though when the ListModicationStructure – Form is loaded, the Activity Type is loaded with default type code for Task as – ‘542’, the Category dropdown lists all category.

The expectation is, the Category List should only display the list related to Activity type – Task.

A node in the BO - which has the Category set with the ActivityGroupCode list as data type

Can some one help me on this.

Thanks

Gayathri

gayathri_ramachandran
Participant
0 Kudos

Datamodel configuration

Accepted Solutions (0)

Answers (1)

Answers (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gayathri,

Did you take a look the Context Binding from Victor?

Bye,
Horst

gayathri_ramachandran
Participant
0 Kudos

Hi Horst,

Thanks for the link. That was a very useful document.

I tried the same way for the Category element which is mapped to ActivityGroupCode (standard codelist) in the CustomBO - ActivitiesNode.

But I get this error when doing so. But when I try for the other custom codelist that i have created, this works.

Any idea, if I have to perform anyother step.

Thanks

Gayathri

gayathri_ramachandran
Participant
0 Kudos

Hi Horst,

What I understand is there is a difference in ActivityGroupCode datatype. Because what I noticed is, the context list mapping works for other code list type pararmeter in the same BO root level or node level. But not for this alone. Then I identified this difference between two different fields of two different codelist.

So, how is it possible to set specific value for Activity - Category? Any ideas

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gayathri,

Reg. the difference in the binding Category-content vs. ActivityTypeCode:
This relates to the fact the the former data tyoe supports so-called supplementary components like the "listID", whereas the second one is a flat data type.

I've taken a closer look into the defintion of the ActivityGroupCode:
It is not enabled for context binding. 😞

Where did you see the restriction to the Task related ones?

Bye,
Horst

gayathri_ramachandran
Participant
0 Kudos

Hello Horst,

Thanks for your response.

I see the restriction in the standard Activity screens. For example the same Activity Group Code, lists only relevant list based on the Process Document Type. How is this achievable in Custom?

I have a List Modification Structure, through which I create Activity for my relevant Custom BO. In this List Modification Struture, I would like to have the same feature as in the standard BO.

Thanks

Gayathri

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gayathri,

This required backend coding which is not availabe in the SDK. 😞

Sorry,
Horst

gayathri_ramachandran
Participant
0 Kudos

Thanks Horst,

Then I think, I should go for custom codelist.