Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

External catalog

Posted on by
<?xml version=/1.0/ encoding=/utf-8/?>
<!DOCTYPE cXML SYSTEM /http://xml.cxml.org/schemas/cXML/1.2.028/cXML.dtd/>
<cXML payloadID=// timestamp=// version=/1.2.008/ xml:lang=/en-US/>
  <Header>
    <From>
      <Credential domain=/NetworkId/>
        <Identity>XYZ</Identity>
      </Credential>
    </From>
    <To>
      <Credential domain=/NetworkId/>
        <Identity>XYZ</Identity>
      </Credential>
    </To>
    <Sender>
      <Credential domain=/NetworkId/>
        <Identity>XYZ</Identity>
        <SharedSecret>S+XYZ</SharedSecret>
      </Credential>
      <UserAgent>Dynamics 365 for Operations</UserAgent>
    </Sender>
  </Header>
  <Request deploymentMode=/Test/>
    <PunchOutSetupRequest operation=/create/>
      <SupplierSetup>
        <URL>devVM/?mi=catExternalCatalogBasketWizard</URL>
      </SupplierSetup>
      <BuyerCookie>data1234</BuyerCookie>
      <Extrinsic name=/UniqueUsername/>XYZ@gmail.com</Extrinsic>
      <Extrinsic name=/UserEmail/>XYZ@gmail.com</Extrinsic>
      <BrowserFormPost><URL>https://staples.com/StaplescXML/receive11</URL></BrowserFormPost>
    </PunchOutSetupRequest>
  </Request>
</cXML>
 
 
getting error:
 
Object reference not set to an instance of an object.
 
 
 
Can not navigate to the external catalog site. Contact system administrator for details.
 
 
Can not navigate to the external catalog site. Contact system administrator for details.
  • Guy Terry Profile Picture
    Guy Terry 28,621 Super User 2024 Season 2 on at
    External catalog
    Hi
     
    What are you doing to get this error? Are you validating a catalog, or attempting to create a PunchOut requisition?
     
    Is the cXML you have pasted coming from the CXML cart message log? If yes, what is the output on the PunchOut trace and PunchOutSetupResponse tabs? 
  • Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    External catalog
    Hi,
    This issue may be caused by a code conflict issue. Sometimes it can happen in environment basis, for this case please talk to a developer to debug and know the root cause. Please provide more information to help us better answer your questions, such as the business scenario of the code in your question, and if there are any errors when compiling the code.
    Best regards,
    Kevin
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    External catalog
    Hi,
    You can refer to this blog about setting up an external catalog, it provides steps and screenshots, also you can refer to the cXML example there. https://www.dynamicsduoacademy.com/post/punchout-external-catalogs-via-cxml-protocol
    Best Regards,
    Hana

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans