Skip to main content
1-Visitor
Dec 22, 2014 3:18 PM UTC
Question

Windchill generate bad url for the object info page

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
Dec 22, 2014 5:19 PM UTC

Anton,

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

Translate
1-Visitor
Dec 23, 2014 10:24 AM UTC

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

Translate
1-Visitor
Dec 24, 2014 12:21 PM UTC

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

Translate