Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to read an XML feed and adjust the value of a node property based on a value in the feed.
Basically I'd like to read an XML feed and adjust a nodes stock value based on the nodes sku.
I realize this is a broad question, but does anyone have experience doing this in razor?
Thanks!
Amir
Hey Amir,
Does that help?
Rich
Yeah kinda. I guess the part I'm struggling with, which i didn't mention before, is that I need a URL to post to everytime an external transaction happens. Is this an appropriate use for altTemplate?
altTemplate will work perfectly for this.
You can call this via ?alttemplate=NameOfTemplate or /pageName/NameOfTemplate
and of course you can still use querystrings shoud you need to
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Change field value based on csv post
Hi,
I'm trying to read an XML feed and adjust the value of a node property based on a value in the feed.
Basically I'd like to read an XML feed and adjust a nodes stock value based on the nodes sku.
I realize this is a broad question, but does anyone have experience doing this in razor?
Thanks!
Amir
Hey Amir,
You can update the node via the API, reading the XML feed can be done using any code you like.
Does that help?
Rich
Yeah kinda. I guess the part I'm struggling with, which i didn't mention before, is that I need a URL to post to everytime an external transaction happens. Is this an appropriate use for altTemplate?
altTemplate will work perfectly for this.
You can call this via ?alttemplate=NameOfTemplate or /pageName/NameOfTemplate
Rich
and of course you can still use querystrings shoud you need to
Rich
is working on a reply...