XML/XSD data source and field vs display name
XML/XSD data source and field vs display name
We have many custom XML/XSD datasources. We need to bring them in with field names AND display names in an automated fashion.
E.g. user selects data source in our program and then Stimulsoft opens ready to drag and drop fields in the designer.
Is that possible via XML/XSD or do we need to create the whole dictionary and then bring that in instead (only XML/XSD would be perfered)?
e.g. awesome would be <xs:element name="CustomerID" displayname="Customer Number" type="xs:string" minOccurs="0" />
Thanks
Patrick
E.g. user selects data source in our program and then Stimulsoft opens ready to drag and drop fields in the designer.
Is that possible via XML/XSD or do we need to create the whole dictionary and then bring that in instead (only XML/XSD would be perfered)?
e.g. awesome would be <xs:element name="CustomerID" displayname="Customer Number" type="xs:string" minOccurs="0" />
Thanks
Patrick
Re: XML/XSD data source and field vs display name
Hello.
We didn't exactly understand what do you want to implement.
Could you explain your problem more detailed with examples.
Thank you.
We didn't exactly understand what do you want to implement.
Could you explain your problem more detailed with examples.
Thank you.
Re: XML/XSD data source and field vs display name
Basically we have Name in Source, Name, Alias.
The fields defined in the XSD are Name in Source. Is there anyway to define a different Name+Alias in the XSD?
See attachment.
Thanks
Patrick
The fields defined in the XSD are Name in Source. Is there anyway to define a different Name+Alias in the XSD?
See attachment.
Thanks
Patrick
- Attachments
-
- Capture.PNG (13.39 KiB) Viewed 5688 times
Re: XML/XSD data source and field vs display name
Hello,
Please try to use the "msdata:Caption" attribute, for example:
In this case the Caption property of the DataColumn will be automatically used for the Alias property of the StiDataColumn.
Thank you.
Please try to use the "msdata:Caption" attribute, for example:
Code: Select all
<xs:element name="CustomerID" msdata:Caption="Customer Number" type="xs:string" minOccurs="0" />
Thank you.
Re: XML/XSD data source and field vs display name
That is just plain awesome 
Thanks
Patrick

Thanks
Patrick
Re: XML/XSD data source and field vs display name
Hello,
Great!
Thank you.
Great!
Thank you.
Re: XML/XSD data source and field vs display name
Hi, should the msdata attributes be recognized by the AIR-based designer? I did a test with Patrick with a caption that worked for him in the dot net version but didn't work for me in the AIR designer.
Matt
Matt
Re: XML/XSD data source and field vs display name
Hello,
Unfortunately, currently this attribute is not supported in AIR designer. We will fix this for the next prerelease build.
Thank you.
Unfortunately, currently this attribute is not supported in AIR designer. We will fix this for the next prerelease build.
Thank you.
Re: XML/XSD data source and field vs display name
Great, thanks!
Re: XML/XSD data source and field vs display name
Hello,
Have a nice day!
Thank you.
Have a nice day!
Thank you.