Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
sandbox test server cannot resolve 'com.interwoven.livesite.external.XML'
RichDiaz
The Sandbox server I test on does not have rights to 'see' any external sites so I am getting a LOT of unresolved object errors, etc.
So, can I copy the "com.interwoven.livesite.external.XML" file(s) to my local WebServer and reference it there?
Any other ideas?
Thanks!
Find more posts tagged with
Comments
wscott
If your sandbox server can't see external sites, you can use local files instead for testing purposes. In your component External section, invoke method GetFileXML with parameter named File containing the file path. com.interwoven.livesite.external.XML will then read the file at that path into XML and insert it into your component just as though it had gotten it from an external site.
RichDiaz
Thanks Will.
Question: is it possible Dynamically reference my source files based on a serverID?
Basically:
IF (SandBoxServer) THEN
// reference these files
END IF
IF (ProdServer) THEN
// reference these files
END IF
This would be even better if this could be in an 'include' file.
flivauda
In the component XML there is an attribute Admin that will be true when you are in development mode and false when you are in production.
If you go to the component development area and preview a component you will see this attribute in the XML viewer.
F