• UnpAccordionViewList

    By Rick A Bowers 1 decade ago

    I am trying to use an UnpAccordionViewList to diplay a view of tasks categorised by type. The data is held in a seperate application.

    When I launch the xpage I see the categories but when I try to expand them all I see is “Load more…”

    Is there a setting that I have missed?

    • By Richard Sharpe 1 decade ago

      This is indicative of a missing XPage. Make sure you have copied UnpAccordionViewList.xsp from the controls into your XPage category in Designer.
      If you have this, right click in the browser to bring up the Element Inspector/Firebug whatever and go to the console - an error may be displayed there.

      • By Rick A Bowers 1 decade ago

        Hi Richard,

        Thanks for your reply.

        There is indeed an error.

        Also when I follow the url for one of the error items I get

        Regards,

        Richard

        • By Richard Sharpe 1 decade ago

          Looks like your URL is wrong. Your dbName property in the UnpAccordion control states 'CrestaCusotmers.nsf' but you are using CrestaCustomers(1_0_0).nsf
          So if you are using the CrestaCustomers.nsf as a lookup from CrestaCustomers(1_0_0).nsf this need to be on device (if using Unplugged product - so an additional application doc in Unplugged.nsf) or the ACL is wrong. If this is supposed to be the same DB leave dbName blank. Default is the same DB.

          • By Rick A Bowers 1 decade ago

            Interesting.
            There are two databases. Cresta\Customers.nsf is the original database and Crest\CrestaMobile.nsf which is the application I am using to create the mobile application.

            The Accordion control in CrestaMobile.nsf is accessing the view in Customers.nsf as it is populating the categories. But it appears not to be able to access it a second time to populate the extra columns.

            Ah well I will stare at it for a bit longer and then give up until tomorrow.