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

Unpublishing Experiences from Server

SOLVED
Level 1

Unpublishing Experiences from Server

In the event the actual project files were deleted from the documents folder, and the machine that published the experience was reset, is there a way to manage all published experiences on a server and delete them in the event that needs to be done?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unpublishing Experiences from Server

By saying manage, do you mean deleting the experience projects? If that is the case, you can leverage REST call using Postman and use Delete method as follows:

** If you are registered for the initial Pilot Program, then replace "/ExperienceService" with "/VuforiaExperienceService" in the URL.

Thanks,
Giri

11 REPLIES 11

Re: Unpublishing Experiences from Server

By saying manage, do you mean deleting the experience projects? If that is the case, you can leverage REST call using Postman and use Delete method as follows:

** If you are registered for the initial Pilot Program, then replace "/ExperienceService" with "/VuforiaExperienceService" in the URL.

Thanks,
Giri

Re: Unpublishing Experiences from Server

Hi Giri,

I've followed your instructions and managed to delete a bunch of published experiences that I didn't want.  However, for some of them, I no longer have the local project folder and I don't know what it was named.  So how can I get rid of these if I don't know the project name.  I do know the name of the Experience, as I see that listed when I scan the ThingMark.

Many thanks,

Allan

Re: Unpublishing Experiences from Server

Allan, To know the list of project names, likewise 'DELETE' method you can make use of 'GET' method in postman. The url should look like - https://<yourhostname>:<port>/ExperienceService/content/projects/

Alternately, you can use CURL command as: curl -u userSmiley Tongueassword -H Accept:application/json https://<yourhostname>:<port>/ExperienceService/content/projects/

-Giri

Re: Unpublishing Experiences from Server

Thanks Giri,

Postman doesn't work as the get command returns the HTML document that's in the projects folder.

I'll try curl.

Thanks,

Allan

Re: Unpublishing Experiences from Server

I see that - Get request should be made with content-type as JSON. As Postman doesn't recognize that params, it is returning html doc. Also tried "?Accept=application/json" in the URL, doesn't work. I guess this is some bug with postman, not sure.

Re: Unpublishing Experiences from Server

Am trying to find the name of a published project that was deleted.

Was able to use CURL to delete all but one. I cant find the project name.

how do I find that name using CURL?

Tried using a -X "GET" and it returned NOT FOUND.

Can a name of that project be emailed to me?

Re: Unpublishing Experiences from Server

Hi William,

Just so you know, I didn't get around to trying to use Curl.  I just used Postman as Giri suggested and kept on trying different directory names until it let me know that it had deleted something.  As you've probably seen, the name of the project folder on the server is the same as that name you give it locally when you create the experience.  My problem was that I didn't have those local folders any more, so I just had to guess.

Re: Unpublishing Experiences from Server

Ditto, in the end I had to guess also and did get lucky. It seems that there should be a better way than learning how to use CURL or some other tool so I can clean my space on the server.

Thingworx is a great tool but has a house cleaning issue.

My lesson is to take notes in OneNote or somewhere of the mark used, project name and other pertinent info.

I truly appreciate the communities breadcrumb trail, it did enable me to create some cool experiences and then learn how to manage them and their access.

Re: Unpublishing Experiences from Server

I have a easy way to delete experience server file.

 

Create a same name project then publish. You can delete cloud file.