Change Xml values

Post Reply
sodslaw
Newbie
Posts: 2
Joined: Sun Apr 17, 2016 11:51 am

Change Xml values

Post by sodslaw »

In an xml how would I go about reversing the width and height values within a flow in switch?

I take I would need a script of some sort to achieve this?

Any takers to show me how I could incorporate into a flow in switch would be much appreciated

Cheers
Sod
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Change Xml values

Post by gabrielp »

sodslaw wrote:In an xml how would I go about reversing the width and height values within a flow in switch?
Why do you need to reverse the values?

There are several solutions to this, depending on what you want to do:
- If the dataset is writable, you could overwrite the dataset values
- Write the values to private data (if you can't script, use metatagger in appstore), then just overwrite them in private data as needed
- Route your flow logic so you don't need to overwrite values
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
sodslaw
Newbie
Posts: 2
Joined: Sun Apr 17, 2016 11:51 am

Re: Change Xml values

Post by sodslaw »

Thanks for your help - will look into your suggestions

Sod
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Change Xml values

Post by gabrielp »

sodslaw wrote:Thanks for your help - will look into your suggestions
No problem. If you get stuck and can be more specific, I can give you a more specific answer. Good luck 8-)
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Post Reply