Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I am getting error Exception executing service,GetAppCollection.This service is returning null value.
Here is the snippet.
@Override
public InfoTable GetAppCollections() throws Exception {
InfoTable consolidatedAppCollections = InfoTableInstanceFactory.createInfoTableFromDataShape((String)"PTC.NavigateApps.CollectionDataShape");
this.appCollectionsConsolidator.addAppCollectionRow(consolidatedAppCollections, "Product Configurator", null,null,TagLink.valueOf(VOCAB_PTC, VIEW_PR), 200);
return consolidatedAppCollections;
}
Hi balkrishna,
I have added a custom app to the landing page by using 'NewApp' thing in the composer. Go to the home mashup of the thing and just add the name of the app and select the mashup for the app and click save. You can see the app in the landing page. Hope this helps.
Thanks and Regards,
Saran
Hi Balkrishna,
Are you using PTC Navigate 1.3?
One thing I recognized is that for the TagLink parameter of addAppCollectionRow() you have to give the ModelTag of your app collection to identify it. If you declared VOCAB_PTC and VIEW_PR as class variables, ignore this post
E.g. if your ModelTag is: Vocabulary:Term
your parameter would be: TagLink.valueOf("Vocabulary","Term") so replace VOCAB_PTC and VIEW_PR in TagLink.valueOf(VOCAB_PTC, VIEW_PTC) with yout ModelTag.
Hope this helps.
Keijo