cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Using Remote Database Template with Manufacturing App

bwinslow24
12-Amethyst

Using Remote Database Template with Manufacturing App

Hi,

 

We currently are trying to create custom templates that extend the PTC.ISA95.PhysicalAssetThingTemplate so we have our Things in Manufacturing App. Most of our templates extend RemoteThingWithTunnelsAndFileTransfer. From what I can see all the functionality we need can be accomplished with the PhysicalAssetThingTemplate. However, we have one template that extends the RemoteDatabase. If we have this template extend the PhysicalAssetThingTemplate, will we be able to connect to the remote database? If not, is there any work arounds?

 

Thanks,

Brandon Winslow

 
ACCEPTED SOLUTION

Accepted Solutions

Hey Brandon,

 

There's probably two different ways for you to do this.  Way #1 would be to do some form of local binding from your remote database Thing over to a new Thing with the PTC.ISA95.PhysicalAssetThingTemplate.  I wouldn't recommend this.

 

Instead, you could implement the same ThingShapes that are on the PTC.ISA95.PhysicalAssetThingTemplate - we query by those rather than by just the template.  This would also give you fine grained control over what data you want on the Remote database, rather than a big bang of getting everything.

 

Thanks,

 

Milan

View solution in original post

5 REPLIES 5
hrajpal
14-Alexandrite
(To:bwinslow24)

Greetings Brandson,

 

PhysicalAssetThingTemplate do not have remote database template functionality.

 

Regards,

Himesh Rajpal

Hey Brandon,

 

Can you tell us a little bit more about the use case that you have here?  What exactly are you trying to do?

 

Thanks,

 

Milan

Hey Milan,

 

Currently we have two separate things to represent our machines. We have our things with our custom thing template and the "Asset_" thing that is created when you create an asset in Manufacturing App. We have just upgraded to 8.3 from 8.0. We now want to eliminate this duplicate "Asset_" thing. The way we can do this is create new templates that have a base template of PTC.ISA95.PhysicalAssetThingTemplate. This is perfect for 95% of our templates because they currently have a base template of RemoteThingWithTunnelsAndFileTransfer. However, we have one template that extends RemoteDatabase. I am trying to figure out how to eliminate the Duplicate "Asset_" thing for these machines as well. Is there a Remote Database Thing Shape that I could implement in order to have our template, which will now have a base template of PTC.ISA95.PhysicalAssetThingTemplate, have the functionality of being able to query a remote database?

 

Thanks,

Brandon 

 

Hey Brandon,

 

There's probably two different ways for you to do this.  Way #1 would be to do some form of local binding from your remote database Thing over to a new Thing with the PTC.ISA95.PhysicalAssetThingTemplate.  I wouldn't recommend this.

 

Instead, you could implement the same ThingShapes that are on the PTC.ISA95.PhysicalAssetThingTemplate - we query by those rather than by just the template.  This would also give you fine grained control over what data you want on the Remote database, rather than a big bang of getting everything.

 

Thanks,

 

Milan

Hey Milan,

 

That works Thanks!

 

Brandon

Announcements


Top Tags