My requirement is to display the product categories assignment block while creating campaign.(Object type - CPG).
So I have created a custom table view in CPGOE_ABLOCKS with two model nodes campaign and CPGProductCategory as base entity.
I have also bind the context node campaign with context node campaign of custom controller CPGOE_ABLOCKS/CuCoCampaign .
I have created a component usage in CPG_MAIN for the above view and displayed it in the overview page of CPG_MAIN.
Now the product category AB is available to create the campaign.
I have created a outbound plug for f4 in product category and defined the close event for the same.
So far it worked fine.The issue is when i click on F4 and select the category ,the category id alone is getting displayed in the AB.
when i try to save the campaign.the values are getting cleared and it is not saved.Do i miss anything??
Any help would be appreciated??