Hi group,
In ProToolkit I am using the ProServerModelNameToAliasedURL function
to find a model in CS, with success. I have created a version of the
program that uses this function for a sister company that sees into our
windchill. Though they are hooked into our windchill intralink, this
funtion fails to work on their end. I am not exactly sure what the
alias is supposed to be. At my site when we register the server, the
name is "Windchill", and the location is
"lmcwindchill.products.com\Windchill". I use "Windchill" as the alias.
At their site, when they register our server they use "Delfield" as the
name and the location is same as ours,
"lmcwindchill.products.com\Windchill". Does the alias need to be
either "Delfield", or "Windchill", or does the value of the Wstring not
really matter as its just local to my program?
Function ProServerModelNameToAliasedURL
Description
Gets aliased url for a given model name.
Synopsis
#include <prowtutils.h<br/><file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowtutils_h.h<br="/>tml> >
ProError
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" protoolkiterro<br="/>rs_h.html#ProError> ProServerModelNameToAliasedURL (
wchar_t
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowchar_h.htm<br="/>l#wchar_t> * alias
/* (In)
an alias of the server where the model resides.
*/
wchar_t
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowchar_h.htm<br="/>l#wchar_t> * model_name
/* (In)
model name.
*/
wchar_t
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowchar_h.htm<br="/>l#wchar_t> ** aliased_url
/* (Out)
The aliased url to the model. Free this string using
ProWstringFree
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" 5331.html="> ().
*/
Thanks, Mark
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.