Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
J.
MVP
0
Views
4
Comments
same resource, different content per server
Question
Hi,
another Resources-question.
I need to provide an foobar.xml (with that specific name ;) ) in my application and it should be accesible.
so it woulb be like this:
prod.somename.nl/app/foobar.xml
accpt.somename.nl/app/foobar.xml
however, the contents of the 2 file should be different in prod and accpt!
How can I achieve this without having to worry about overriding the contents with deploying?
Kilian Hekhuis
MVP
This doesn't seem possible when including directly it as a resource. Any reason why you want it to be included as a resource, instead of e.g. get it from the file system or read it from a db?
J.
MVP
I need to provide it to a 3rd party...
but perrhaps I can convince them to use something.aspx :)
Remco Dekkinga
MVP
Is it possible not to include it as a resource, but to generate it after publication?
Kilian Hekhuis
MVP
The only other thing I can think of is include both with a different name, and select one or the other depending on whether you're running in production mode.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...