Skip to main content
1-Visitor
August 2, 2019
Solved

What is snippet. somebody help me

  • August 2, 2019
  • 2 replies
  • 2430 views

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.

 

 

Best answer by eliotlandrum

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

2 replies

14-Alexandrite
August 2, 2019

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

JackEom1-VisitorAuthor
1-Visitor
August 8, 2019

oh thank you! I'll practice with the guide

1-Visitor
August 2, 2019

(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. 

JackEom1-VisitorAuthor
1-Visitor
August 8, 2019

thank you for your reply!