Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to find data connection path

chapmawi
Level 2
Level 2

I need to modify several xdp files created by a previous developer. When I open them in LC Designer I get the usual "Cannot find xxxx.xsd. Check that the path is correct" message. The path indicated in the connection properties is a relative path like ".\xxxx.xsd".  I searched the system drives and found several xsd files so I'm not sure which one the xdp files are using. Is there some other embedded property that will give me the actual path to the xsd file?

Thanks,

Willie

1 Accepted Solution
_Bruce_Robertson
Correct answer by
Level 10
Level 10

Hi Willie,

Sorry for the delay, you may already found the option but just in case, right click on the data connection and select connection properties from the context menu, then click next, it's on the second page

1802427_pastedImage_0.png

View solution in original post

5 Replies
_Bruce_Robertson
Level 10
Level 10

Hi Willie,

It will be relative to were the xdp file was when the data connection was created.

If the original developer used the "Embed XML Schema" option, and most seem to, you can go into XML Source view and locate "xs:schema" and you shoud be able to recover it from there.

Regards

Bruce

chapmawi
Level 2
Level 2

Hi Bruce,

Where would I find the "Embed XML Schema" option?

Thanks,

Willie

chapmawi
Level 2
Level 2

Bruce,

I got a bit ahead of myself.  I guess the previous developer did use the "Embed XML Schema" option. As you previously stated I found what I was looking for when I opened the XML Source view. If you haven't already replied to my question regarding where to find the "Embed XML Schema" option I still would like to know that.No need to reply if you already answered.

Thanks again,

Willie

_Bruce_Robertson
Correct answer by
Level 10
Level 10

Hi Willie,

Sorry for the delay, you may already found the option but just in case, right click on the data connection and select connection properties from the context menu, then click next, it's on the second page

1802427_pastedImage_0.png

View solution in original post