communicating between xslt and external application Options
umbracorox
Posted: Monday, February 25, 2008 3:31:11 AM
Rank: Newbie

Joined: 2/24/2008
Posts: 6
Hello,

I have an application that uses umbraco and its web services to create content through umbraco.

I have some custom document types with various properties. One of these properties is an id which works as a relation to the custom app.

For example this article has a userid property that relates (works as a point of relation - to let us know that it belongs to a particular user) back to a user in the application.

Now i can output all the article content through xslt no problems, but my question is what is the best strategy for getting more information about the user it belongs to which is in a seperate application (I have the userid - so now its a matter of making a call to the application to retrieve more information and output it with xslt - if possible)?

Can I make calls in c# to a seperate application within xslt or should I be looking at doing this differently?

many thanks
neehouse
Posted: Monday, February 25, 2008 4:04:29 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,038
Location: Charleston, West Virginia, United States
You can create an xslt extension that can access the data in the other application. This would work similar to how the umbraco.library works.

If your app has the ability of serving up xml via a webpage, you could use the GetDocumentByUrl that currently exists in the umbraco.library.

Another approach would be to use a usercontrol to do the complete display rather than mixing and matching...

• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.