• 8.5.2 Server

    By Al Delacruz 1 decade ago

    Does your latest version not require the update to the mConfigurationOffLine custom control?

    The reason i ask is because i'm trying to point your XPages Mobile Controls Lite NSF to a database in the same directory and all i get is "Loading."

    When i use database name : somename.nsf  I get a can't open document, database error.

    When i use the database id:  1234918734:19281047  It says loading but nothing ever populates.

    Your sample database works fine before i made any modifications to the ViewAndDocument XPage.

    Thanks...

    • more info

      By Niklas Heidloff 1 decade ago

      Al, you only need the design elements in MobileControlsLite.nsf, nothing else.

       

      I can connect to another database. Have you changed the database name both in the view and the document control?

      • More info....

        By Al Delacruz 1 decade ago

        I updated the view and database in the "ViewAndDocument" XPage.

        viewName="mLeadContact"
        databaseName="77287464:006DC7C3"

         

        xp:key="documentContent"
        databaseName="77287464:006DC7C3">

        Also,

        updated the "MyDocument" Custom control to include the fields/columns in my view.  I think i followed your Youtube example as best i could.

        • Resolved!

          By Al Delacruz 1 decade ago

          Thank you for your help. 

          Resolved by changing out the database id for the full path of the database from the data directory.

           

          "directory\subdirectory\databasename.nsf"