web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

MessageId in a custom outband XSD scheme

(0) ShareShare
ReportReport
Posted on by 164

Hi All!

I try to configure a custom XSD scheme, and can't understand what need to put in the tag MessageId to get GUID of a created message? 

what I try

<?xml version="1.0" encoding="UTF-8"?> 
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:msg="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"
xmlns:doc="http://schemas.microsoft.com/dynamics/2008/01/documents/SalesOrder"> 
<xsl:template match="/"> 
<SalesOrderUpdate> 
<xsl:for-each select="/msg:Envelope/msg:Body/msg:MessageParts/doc:SalesOrder/doc:SalesTable"> 
    <OrderHeader>
     <MessageId><xsl:value-of select="msg:MessageId"/></MessageId>  this not works

      <MessageId><xsl:value-of select="/msg:MessageId"/></MessageId>  this not works

and etc.



      <SalesId><xsl:value-of select="doc:SalesId"/></SalesId> //this works
    </OrderHeader>
  </xsl:for-each>  
</SalesOrderUpdate> 
</xsl:template> 
</xsl:stylesheet> 

*This post is locked for comments

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans