cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

environment variables in siteprefs.xml

ptc-957266
1-Visitor

environment variables in siteprefs.xml

Hi,

We are currently testing "EPIC-5.4-M080".
In the documentation we found that it is possible to use a "sitprefs.xml" and reference this file through the environment variable APTDEPLOYPATH.

In the siteprefs.xml there is a part of the form:

<environmentvariables>

<variable name="" value=""/">
</environmentvariables>


We want to add as many as possible APT environment variables in this "siteprefs.xml" so every user has the same settings.

However if we add the APTCATPATH variable, apparently EPIC doesn't catches it.
If we add APTCATPATH outside this siteprefs.xml (where we define APTDEPLOYPATH) Epic finds the catalog.

The weird thing is if it is set in siteprefs.xml and I run the following code on the Epic commandline:
for ($a in $main::ENV) {
if (match($a, "APT"))
{$z=$z . "\n" . $a . "=" . $main::ENV["$a"]}
} ;
eval $z;
unsetvar z;

I see the APTCATPATH set but Epic can't find the DTD's.

Any clue?

Kind regards,
Michiel


0 REPLIES 0
Announcements

Top Tags