Skip to main content
1-Visitor
Solved

What is snippet. somebody help me

Hi experts , I'm beginner about thingworx.

I'm Korean so I am poor at English.

 

I want to know snippets.

I don't wonder definition of snippet. How it is used and What do I use it for thing? 

I hope a simple exercise.

Thank you.

 

 

14-Alexandrite

Hello! A "snippet" in English generally refers to a short, quotable section of text. It's become used in the digital world to mean that you cut a little useful bit of video, text, or code from something larger. Hopefully that general description helps give you some context.

 

In ThingWorx, a "snippet" is a small bit of reuseable code that you can use to build a service. ThingWorx provides many of these useful bits of code (snippets) that can be combined together to accomplish tasks for your Things.

 

This Guide might be helpful for you to see how snippets can be used: https://developer.thingworx.com/resources/guides/application-development-tools-tips-tricks

5 replies

14-Alexandrite

Hello! A "snippet" in English generally refers to a short, quotable section of text. It's become used in the digital world to mean that you cut a little useful bit of video, text, or code from something larger. Hopefully that general description helps give you some context.

 

In ThingWorx, a "snippet" is a small bit of reuseable code that you can use to build a service. ThingWorx provides many of these useful bits of code (snippets) that can be combined together to accomplish tasks for your Things.

 

This Guide might be helpful for you to see how snippets can be used: https://developer.thingworx.com/resources/guides/application-development-tools-tips-tricks

Translate
JackEom1-VisitorAuthor
1-Visitor

oh thank you! I'll practice with the guide

Translate
1-Visitor

(in Thingworx) A 'Snippet' is just sample code that PTC has already written for you. If there are any input parameters for the code, it will leave them 'undefined' so you can fill them in yourself. 

Translate
JackEom1-VisitorAuthor
1-Visitor

thank you for your reply!

Translate