Skip to Content

Add Marketing attributes view to Contact creation screen

Hi Experts,

I need some help to make an enhancement to add marketing attributes view on the contact person creation screen after confirming account in Web IC.

The view currently exists in contact person overview page. I was just wondering what is the best way of adding the view to CP creation screen.

Regards,

Dhruv

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 12, 2016 at 06:34 AM

    Hi Dhruv,

    I just checked in our system. Unfortunately the create contact person view in the IC is a configurable view, not a view set. In order to add the marketing attributes to the contact creation screen you therefore need to:

    1. create a custom viewset
    2. add the contract create view to the view set
    3. add the marketing attributes view to the view set (e.g. BP_DATA/MarketingAttributesEOVPList)
      • To be able to do this you need to add the component to the component usages
      • You also need to extend wd_usage_initialize of your component controller so the new component gets initialized correctly
    4. change the navigation link for create contact to open you new overview viewset instead of the standard create contact view.

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Christian,

      I debugged it and found that in CREATE_BUILDHEADER method context node to bind is partner,

      however no such node exists in the ICCMP component controller. I added the wrong view instead of adding ComponentUage.View. After this I created binding for the Partner context node with CONTACTPERSON node of my component controller.

      Now I face another problem, in method SET_VIEW_GROUP_CONTEXT of the implementation class; the collection for marketing attributes is initial and as a result it gives a dump when trying to get the iterator. Do I need to bind this context node as well or how can I set the collection?

      Regards,

      Dhruv

  • Posted on Jul 19, 2016 at 02:16 AM

    Hi Christian,

    I was able to display the marketing attributes view. However the view appears in display mode always. I changed the SET_VIEW_GROUP_CONTEXT method of the viewset to make all views editable. Also the entity in marketing attributes for contact person comes blank which is expected when I click the related button, but this results in making the view to show up in display mode.

    Do you have any idea how can I resolve this issue?

    Regards,

    Dhruv

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Christian,

      Apologies to bother you again, the issue is that the there is no collection for contact person in the marketing attributes. Since the contact person is not created yet, this is the correct behavior.

      So I am wondering if it is possible to implement the functionality? Thanks.


      Dhruv

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.