Skip to main content
1-Visitor
December 22, 2014
Question

Windchill generate bad url for the object info page

  • December 22, 2014
  • 3 replies
  • 1769 views

Hi. I've created the mvc component (table, that display a list of the WTDocuments). This component is placed inside the navigator page. The first field is the number and this field is the link to the info page.

final ColumnConfig docNumber;

{

docNumber = factory.newColumnConfig("number", true);

docNumber.setInfoPageLink(true);

}

The correct url to the info page should be: http://org.myorg.ru/Windchill/app/#ptc1/tcomp/infoPage?oid=VR%3Awt.doc.WTDocument%3A401274&u8=1

but windchill generate: http://org.myorg.ru/app/#ptc1/tcomp/infoPage?oid=VR%3Awt.doc.WTDocument%3A401274&u8=1

What is wrong?

3 replies

BenPerry
15-Moonstone
December 22, 2014

Anton,

Does the URL work if you open in a new tab or something? Or URL doesn't work at all?

1-Visitor
December 23, 2014

Hi, Ben. URL doesn't work at all, becouse URL doesn't contains /Windchill/ word.

1-Visitor
December 24, 2014

I've solved it by redirecting the urls in Apache:

RedirectMatch ^/app(.*)$ /Windchill/app$1

But I believe that it's not the best solution