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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Skeleton Outline for XML Chart

(0) ShareShare
ReportReport
Posted on by 2

Could someone paste in the outline of what a chart is in xml format? I have the following but NAV 2009 is telling me it isn't valid. And no, my NAV system doesn't have ANY pre-made charts in it.

<?xml version="1.0" encoding="utf-8" ?>
- <ChartDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
com:dynamics:NAV:MetaObjects" Type="Column">
- <Title>
<Text ID="ENU">Count of Customers per Salesman</Text>
</Title>
- <Table ID="18">
- <Filters>
- <Filter>
<Field Name="No." />
<Value />
</Filter>
</Filters>
</Table>
- <XAxis ShowTitle="false">
<Field Name="Salesperson Code" />
</XAxis>
- <YAxis ShowTitle="true">
- <Measures>
- <Measure Operator="Count">
- <Caption>
<Text ID="ENU">Count</Text>
</Caption>
</Measure>
</Measures>
</YAxis>
</ChartDefinition>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    edwardl Profile Picture
    2 on at

    <?xml version="1.0" encoding="utf-8" ?>

    <ChartDefinition xmlns="urn:schemas-microsoft-com:dynamics:NAV:MetaObjects" xmlns:xsd="www.w3.org/.../XMLSchema&quot; xmlns:xsi="www.w3.org/.../XMLSchema-instance&quot; Type="Column">

    <Title>

    <Text ID="ENU">Count of Customers per Salesman</Text>

    </Title>

    <Table ID="14">

    <Filters>

    <Filter>

    <Field Name="Code" />

    <Value />

    </Filter>

    </Filters>

    </Table>

    <XAxis ShowTitle="false">

    <Field Name="Name" />

    </XAxis>

    <YAxis ShowTitle="true">

    <Measures>

    <Measure Operator="Count">

    <Caption>

    <Text ID="ENU">Count</Text>

    </Caption>

    </Measure>

    </Measures>

    </YAxis>

    </ChartDefinition>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans