Skip to main content
12-Amethyst
July 17, 2025
Question

How to access or call upon a private service

  • July 17, 2025
  • 1 reply
  • 584 views

I am currently making a mashup in ThingWorx 9.6.1-b253, that needs to call upon a few private services from the thing PTC.Nav,ViewPartStructure.

 

I have tried making a template of that thing and making my own thing inside the same project I am currently doing my work in, as the error states: " Access Modifier Check Failed; Thing: [SMDCostingCalculator] SMDViewPartStructure, accessing ThingTemplate: [ptc.nav.PTC.Nav.Default] PTC.Nav.ViewPartStructureAppThingTemplate Scope: NONE, with Service: GetRepresentableInfo Scope: PRIVATE. Reason: Private Characteristics are accessible only from project in which they're defined." which i can guess is because my thing, SMDViewPartStructure, is not in the service of PTC.Nav.Default.

 

Is there any workaround to be able to call these services as i need them. I know its possible as my company has another template that calls upon the service in a mashup in another project and seems to work, yet doesnt work when called as a service. 

 

Below is what i currently have, ive tried it with my thing of the same template and the "official" and neither work. Screenshot 2025-07-17 134256.png

Thank you for your time and help, any advice or ideas would be appreciated

1 reply

Catalina
Community Moderator
July 22, 2025

Hi @LH_10747950 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant.

 

Best regards,

Catalina | PTC Community Moderator