Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

The retrieval system..AX 7 and lower out of the box document retrieval and 3rd party program integration.

AX 8 and higher utilizes similar out of the box functionality with a change to the URL format.

Table of Contents


The below URL is a general format that has been implemented in other environments and is an out of the box solution for AX retrieval.  

These settings can be accessed using http://localhost/appxtender/testlaunch from an installed AX web server.  The testlaunch needs to be enabled in webconfig before it is accessible (testlaunch enable = "true").

The below uses IsubmitQuery to perform a query on the AX datasource and retrieve documents.  This also depends on the use of Active Directory.  This is due to the fact that the isubmit query is passing along the currently logged in windows user credentials and verifying with AX and Active directory the permissions associated with the user/group.  

There is also an Idocument option that does similar task and requires docid with optional page number for the document to retrieve successfully.  

V7- format

IDOCUMENT
http://SERVERNAME/Appxtender/appxtender/iDocument.aspx?DataSource=DATASOURCENAME&AppName=APPNAME&DocId=2&DocNavBlocked=true&DispMode=1&AutoLogoutOnClose=true

ISUBMIT
http://SERVERNAME/appxtender/iSubmitQuery.aspx?DataSource=DATASOURCENAME&AppName=APPNAME&INDEXNAME=INDEXVALUE&DocNavBlocked=true&DispMode=1&AutoLogoutOnClose=true


V8+ format

IDOCUMENT
http://SERVERNAME/AppXtender/DataSources/DATASOURCENAME/IDocument?AutoLogoutOnClose=True&DocNavBlocked=True&DispMode=11&SearchAllRevisions=True&PublicQuery=False&UpdateAvlFieldsOnly=True&AppName=APPLICATIONNAME&DocId=2&PageNum=1

ISUBMIT
http://SERVERNAME/AppXtender/DataSources/DATASOURCENAME/ISubmitQuery?AutoLogoutOnClose=True&DocNavBlocked=True&DispMode=11&SearchAllRevisions=True&PublicQuery=False&UpdateAvlFieldsOnly=True&AppName=APPLICATIONNAME&INDEXFIELDINDEXNAME=INDEXVALUE&INDEXFIELDINDEXNAME=INDEXVALUE

 Link breakdown: Servername

  • Servername = The name of the server where AX web is setup
  • Datasourcename = The name of the AX Datasource
  • ApplicationName = Name of the AX application retrieving from

...

  • DispMode = What is shown or hidden to the end user retrieving.
    • DispMode 1 = Hide Main Page DS App List
    • DispMode 2 = Hide All Pages Logout
    • DispMode 4 = DocView Page - Hide Menu and Toolbar
    • DispMode 8 = Hide DocView Page Doc and Page Menu Items and Index View
    • DispMode 11 = Hide Logout, DS App List, DocView Page Doc and Page Menu Items and Index view

Note

Note: Document View Hide Menu and Toolbar option only works for IDocument entry point.


  • Indexname = index name of the index retrieving such as

...

  • "invoice number"

...