Skip to Content

How can I remove an OVS extension from a context attribute?

In our Web Dynpro application we provide a generic search mask to the user. The information about the search fields like labels, length etc. is retrieved from the backend during runtime. Also, the information if there should be a value help available or not is read from the backend during runtime. In case there should be a value help for a search field we just add an OVS extension, using method WDValueServices.addOVSExtension(...). For this, we pass the AttributeInfo of all relevant context attributes to this method.

The problem is now the following: The user can switch between different kinds of search masks. Because of the generic implementation all use the same Web Dynpro context. So it might be that the search field #1 on the first input mask has a value help whereas search field #2 on the second input mask doesn't. But if we once have added an OVS extension to the context attribute of search field #1 it can apparently never be removed anymore. At least I couldn't find a method to remove it.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2005 at 12:26 PM

    Hi Jens,

    I'm not sure, but you can try the following:

    1. use wdContext.reset(false) -- probably it drops OVS extensions.

    2. if [1] doesn't work, then create search attribute(s) dynamically, then do wdContext.reset(false) and re-create search attribute(s) from scratch


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Jens Ruths

      Hello Jens,

      yes, you have to remap them again as they'll also get lost.

      I've heard some time ago from a developer/consultant that there will be a removeAttribute, resp. removeChild in some future release of IWDNodeInfo. Hopefully it'll come soon.

      Best regards,


  • Posted on Jan 24, 2005 at 09:01 AM

    Hallo Jens,

    the WDValueServices-API will be adapted to this need in NetWeaver 04 - Support Package 11.

    Greetings, Bertram

    Add a comment
    10|10000 characters needed characters exceeded

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.