• Dynamic Content and specify the document data source to consume the requestMap

    By Thomas Adrian 1 decade ago

    I wonder if it is possible to specify which data source gets the consuming request map.

    I have my dynamic content in a custom control and I have a few data sources connected to this cc that I do not want to get connected to the requested id.

    is it the first document data source that gets the request id?
     

    #content=test&action=openDocument&documentId=1C9E99C396F24AEDC125795600630354

     

    I would like to be able to connect the data source to a panel in my cc and specify this data source to be the one that consume the request without affecting the data sources connected to the root of the cc.

     

    Please comment on this, and possible solutions

    Thanks

    Thomas

     

     

    • Found a way

      By Thomas Adrian 1 decade ago

      I am not sure but I think all document data sources on the xpages or customer control will be consumed by the request parameters. I managed to control which one I want to set by setting the "ignore request parameters" to true on all other data sources.

       

      /Thomas

      • Yes,this is a solution

        By Philippe Riand 1 decade ago

        The onther one if to prefix the parameters. The data source has a requestParamPrefix attribute do, for example, instead of 'id' it uses 'id'. Note that driving multiple data sources from a single URL is something I would not encourage you to do.