Uploaded image for project: 'Nuxeo Admin Console'
  1. Nuxeo Admin Console
  2. NAC-113

Pass context url from index.jsp to Nuxeo js client in Admin Console

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 23.0.0
    • Component/s: Admin Console

      Description

      As per slack conversation https://nuxeo.slack.com/archives/CJVB4LKT3/p1721032170826179?thread_ts=1720780373.191009&cid=CJVB4LKT3 ,

      we need to pass the url while instantiating nuxeo js client to correctly pick the domain value

      Steps 

      1. Integrate index.jsp as a starting point for angular app on production builds. For development build, index.html will be used
      2. pass context from index.jsp as an attribute to <app> root tag for angular
      3. Read the attribute from angular app to get the context url.
      4. Pass context url while instantiating nuxeo js client object.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour
                1d 1h