Skip to Content
0

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

Nov 15, 2016 at 12:43 PM

123

avatar image

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

fcxvs.png (57.4 kB)
jyxsd.png (141.9 kB)
10 |10000 characters needed characters left characters exceeded

Datamodel configuration

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Schaude
Nov 15, 2016 at 01:00 PM
0

Hello Gayathri,

Did you take a look the Context Binding from Victor?

Bye,
Horst

Show 6 Share
10 |10000 characters needed characters left characters exceeded

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

bazdq.png (120.2 kB)
0

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

ue9et.png (94.5 kB)
0
Gayathri Ramachandran

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

0

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

0
Gayathri Ramachandran

Hello Gayathri,

This required backend coding which is not availabe in the SDK. :-(

Sorry,
Horst

0

Thanks Horst,

Then I think, I should go for custom codelist.

0