Skip to Content
avatar image
Former Member

Changes in custom controller


I have a web dynpro component wherein im using few custom controllers. These controllers have already mapped in existing views. Now i have some changes as i need to add few more attributes and node in that. Could anybody please help me how could i add these additional attributes in and more importantly how to make these new attributes visible in view controller.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 15, 2014 at 08:54 AM

    Hi Sudhashu,

    To add new attributes to node in controller

    • Option1: if node is directly created without any structure reference, you can directly add context attributes inside node at custom controller
    • Option2: If node is created with structure reference, you need to change the structure or append fields into structure. Then try to update the attributes of node using the latest structure definition.

    To update attributes from custom controller to view controller:

    •      After successful addition of attributes to context node, you can right click on NODE in view controller's context and choose the option "UPDATE MAPPING",  Now you will be able to see the attributes updated from custom controller

    Hope this helps you.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Ramakrishnappa Gangappa

      thats exactly i was hoping that it should take reference of updated attributes. i have activated everything but form still showing old attributes only.