• What to pay attention to when using DataView from Extension Library... (and the view is from different database issue)

    By Jan Krejcarek 1 decade ago

    Hi all, when I was  using the view picklist to select from a view in a different database, XPages kept telling that the view data source did not exist.

    What I have found out was that when the XPage representing a document was opened from the DataView component from the ExtensionLibrary, the URL contained a databaseName property. This property by default overrides any databaseName property specified in any of the data source on the XPages and the system effectively tried to open a view with invalid name in the current database.

    The solution is to set the ignoreRequestParams property on the view data source used with View PickList to true. This causes the data source to open from the database you specified in the data source.

    regards,
    Jan

    • Thanks!

      By Steve Cochrane 1 decade ago

      Thanks!

         However, for some reason the picklist won't work when the document has been saved.  =8(  I'll keep plugging away, since it seems that no one monitors this forum.

      Cheers!

      Steve in NYC

      • By Leon Matthys 6 years ago

        Steve, an update regarding save?

        I agree, is this forum a ghost-town?

    • By Leon Matthys 6 years ago

      Jan, I realize it's been 6 years since your post, but I'd like to know if you experienced this:

      View Source is in a separate NSF, a mail file.

      I'm using the UNID selection technique of the View PickList

      Everything works fine and dandy in its own XPage with 1 loading mask and 12 instances (for each month) in my example.

      HOWEVER when I integrate it either by using an INCLUDE XPAGE or by pasting the contents into its place in the calling XPage Tabbed Panel, the View Source becomes a random view in external database where my data resides (I keep the Xpage code in a separate NSF).

      I'm using Domino Notes 9.0.1 FP9 SHF55 and View Pick List v3.0.

      And if you did experience the above, how did you overcome?
      Leon