Dashboard widget: external datasource snag

Joined
Dec 10, 2010
Messages
2
Reaction score
0
Points
1
I have a xml file I would like to bind to a dashboard widget list. Although I am able to bind this list if it's within the widget's bundle, I am unable to bind it externally--e.g. if the xml list is on the desktop. A modal dialog warning shows: "try entering a path relative to your application"--yet this also does not seem to work. And yes, I made sure to check the "Allow external file access" within the Widget Attributes panel.:Grimmace:
 
OP
A
Joined
Dec 10, 2010
Messages
2
Reaction score
0
Points
1
Solution to external datasource snag

I think I have found a solution: instead of using the conventional unix file path for the datasource reference, e.g. '/Desktop/myXMLFile.xml', I find that an XML file also has a URL path: 'file:///~/Desktop/myXMLFile1.xml'. Coming from the world of Cocoa programming, I was ignorant of XML files and widget behavior as a web 2.0 kind-of-thing.:)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top