Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11171 DAM > Infra Initialization
  3. NXP-11045

Make restDocumentLink create a link when there is no document

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1
    • Component/s: None
    • Upgrade notes:
      Hide

      By default, the main tabs generate URLs with a document or a repositoryName.
      If you want to force your main tab to generate an URL only with a document, you need to specify it in its action properties.

      It's done for the Document Management tab:

      <action id="documents" link="view_documents" label="label.main.tab.documents"
      order="40">
      <category>MAIN_TABS</category>
      <properties>
      <property name="requireDocument">true</property>
      </properties>
      </action>

      Show
      By default, the main tabs generate URLs with a document or a repositoryName. If you want to force your main tab to generate an URL only with a document, you need to specify it in its action properties. It's done for the Document Management tab: <action id="documents" link="view_documents" label="label.main.tab.documents" order="40"> <category>MAIN_TABS</category> <properties> <property name="requireDocument">true</property> </properties> </action>

      Description

      The is useful when there is no document context (can happen for some users) but navigation is still useful to access a dashboard for instance.

      An additional "repositoryName" attribute would be useful to build the DocumentView instance (since repository name is currently retrieved from the document)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified