on 07-07-2017 10:34 AM
Hello Experts,
I have a requirement as below... Kindly let me know if you have any other way of handling this.
Approach 1:
By standard the list of TG’s which has this Contact added will be displayed in the list view.
The above OWL is from an EC. So the approach I took was to hide that EC, and include a Custom EC as TARGETGROUPS TAB in Contact TI. I tried to add the advanced list pane - here and got this issue. The query is to pass the ContactUUID and fetch the relative target groups.
The problem is when i activate with ExecuteDefaultSet - query. The binding with lower association doesn't work. I get a dump when i do this way. To prove this, I tried to map the query to the TargetGroupd ID, and I found it works fine, I can't use SADL too, because this is custom EC
Approach 2:
Due to the above issue I tried to add an EC to the Contact header, On click of it - opens a Modal Dialog, where the Target group is selected using OVS. Now I could get this Target Group in the custom Action of my custom BO. But i couldn't find a handle in the targetGroup.BO, where I could create or add a memeber. There is no such method.
Approach 3:
Now, with the failure in Approach 2, I'm trying to use ManageTargetGroupIn - an SAP Inbound Webservice . I have not got any reference of how a C4C webservice consumed in SDK, However, I assume I can use it like External Webservice Integration.
Can some one help me on this topic..
Hello Gayathri ,
from my point of view, it is totally legal to use an SAP synchronized Webservice Internally. I have also solved this way: D
There was no other way. - In my opinion
To Do this, you need to download the Inbound Service and add it in the solution as external web service. After that you need to assign the external web service to an CA, and set up the path of the CA. <Thats it...
a little hint:
You can also create an OWL with the SADL and set this OWL in the EC:D
Best Regards
Said
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gayathri,
you just need fill out the webservice...
var requestObject : ManageTargetGroups.MaintainBundle.Request;
var TargetGroupObject :ManageTargetGroups.MaintainBundle.Request.TargetGroupBundleMaintainRequest_sync.TargetGroup;
TargetGroupObject.ID= <<Id of Targetgroup>>;
TargetGroupObject.actionCode = "04";
var currentMember : ManageTargetGroups.MaintainBundle.Request.TargetGroupBundleMaintainRequest_sync.TargetGroup.Member;
currentMember.CustomerUUID.content = <<UUID of Customer>>
currentMember.actionCode = "01";
currentMember.ContactPersonUUID.content = << UUID of Contact >>
TargetGroupObject.Member.Add(currentMember);
requestObject.TargetGroupBundleMaintainRequest_sync.TargetGroup.Add(TargetGroupObject);
var response = ManageTargetGroups.MaintainBundle(requestObject, "", comserviceForInbound);
Best Regards
Said
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.