Thanks for this post. I had a similar issue which was resolved by setting Visibility to the appropriate organization in the Platform Subsystem.
thanks... after struggling so long, this fixes my issue as well.
Content Move Notice (Dec. 2018)
ThingWorx Code Examples boards are now merged into IoT Tech Tips under the Code Examples label.
The Service Apps board is now merged into the Manufacturing Apps board.