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

Store data on Value Stream MQTT problem

SOLVED
Regular Member

Store data on Value Stream MQTT problem

Hi All,

 

I need information about the following problem:

 

https://community.ptc.com/t5/ThingWorx-Developers/Thing-view-property-value-receive-from-Mqtt-Broker...

 

I see this solution, but i dont know how to proceed

 

Hello,

I found solution on thic community. So we can close this topic.

Get null pointer exception if property change via mqtt

Visibility Permissions when logging properties

 

You have to go to your ValueStream and click on ThingworxPersistenceProvider and click on View. Than you must start the AddVisibilityPermission-Service of the PersistenceProvider:

 

principal: Everyone

principalType: Organization

 

After that the ValueStream will work

 

Thanks for the help.

 

 

 

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Store data on Value Stream MQTT problem

Hello!

 

Without getting into details in the issue and just focusing on the steps mentioned in the related thread solution, this is what the user suggested doing:

 

1) There must be a problematic Value Stream for your issue. Look for it in the ThingWorx Composer Home under "Data Storage" --> "Value Streams"

2) Click on its name to edit it (a new tab for the Value Stream is opened)

3) In the "General Information" section, you will see the "Persistence Provider" field pointing probably to "ThingworxPersistenceProvider". Click on it and you will be offered to View / Edit / Clear. Select "View"

4) A new tab for the Persistence Provider will be opened. Go to Services and look for service "AddVisibilityPermission"

5) Click on "Test" to run this Service and you will be asked to enter the following two inputs:

principal

principalType

6) Enter "Everyone" as principal and "Organization" as principalType, and click on "Execute Service"

 

That should fix the issue according to user in related thread.

 

I hope this helps!

Best Regards,

Vanessa

View solution in original post

2 REPLIES 2

Re: Store data on Value Stream MQTT problem

Hello!

 

Without getting into details in the issue and just focusing on the steps mentioned in the related thread solution, this is what the user suggested doing:

 

1) There must be a problematic Value Stream for your issue. Look for it in the ThingWorx Composer Home under "Data Storage" --> "Value Streams"

2) Click on its name to edit it (a new tab for the Value Stream is opened)

3) In the "General Information" section, you will see the "Persistence Provider" field pointing probably to "ThingworxPersistenceProvider". Click on it and you will be offered to View / Edit / Clear. Select "View"

4) A new tab for the Persistence Provider will be opened. Go to Services and look for service "AddVisibilityPermission"

5) Click on "Test" to run this Service and you will be asked to enter the following two inputs:

principal

principalType

6) Enter "Everyone" as principal and "Organization" as principalType, and click on "Execute Service"

 

That should fix the issue according to user in related thread.

 

I hope this helps!

Best Regards,

Vanessa

View solution in original post

Re: Store data on Value Stream MQTT problem

Thank you so much @visla it works!.

 

Best Regards.

 

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________