Community Tip - You can change your system assigned username to something more personal in your community settings. X
var serviceImplementation=me.name;
Things["Scheduler_Dynamic_CRON13"].EnableThing();
Things["Scheduler_Dynamic_CRON13"].RestartThing();
Things["Scheduler_Dynamic_CRON13"].AddServiceDefinition({
name: "hari" /* STRING */,
description: "welcome" /* STRING {"defaultValue":""} */,
definition:"hi welcome",});
Hey,
why do you open new topics for the same question all the time?
This is the 4th one I think:
If your question was not answered yet don't mark them as "accepted solution". I assume that the solution here works https://community.ptc.com/t5/ThingWorx-Developers/Create-service-programmatically/td-p/518587 but I never tried.
There is not easy way to add the service-code it seems.
HI @nmutter
i am not get exact code and also create service but action script unable do the process also new question put in . please help to me , exact refer to my requirement.
Hi @Hariharasuthan.
Perhaps logging a ticket would be the best way to move forward. We have regional support centers, so one of our India colleagues would be able to provide assistance. If you would like me to open the ticket on your behalf, please let me know.
Regards.
--Sharon