SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Run a php script hosted in system link cloud

Solved!
Go to solution

Is possible to host a php script in systemlink cloud in order to execute it with an http request? Thanks in advance

0 Kudos
Message 1 of 7
(2,263 Views)

No, this is not possible. That said, I'd like to understand what you are trying to accomplish. Perhaps there is supported way. 

Mark
NI App Software R&D
0 Kudos
Message 2 of 7
(2,251 Views)

Thanks for your attention. There are several tags defined for an IoT application and these tags are stored in systemlink cloud.. Each tag have properties with their according value and all this data is stored in the cloud. We want to make http requests in order to get some properties (and their values) from the tags, but we don't want to receive all the properties in one string. We would like to receive particulars properties for post processing in the IoT application

0 Kudos
Message 3 of 7
(2,236 Views)

Please correct me if I understand incorrectly. You have an application where you are trying to retrieve values and properties for tags stored in SystemLink Cloud, but the available API returns that data in a format that you do no want to use. Instead you want to use something running on SystemLink Cloud that can format that response into a form you desire. Is that correct?

Mark
NI App Software R&D
0 Kudos
Message 4 of 7
(2,212 Views)

Hi, thanks for your attention. Yes, that's exactly the point. We make an http request for several tags and we get all the properties with their according value in a string, but this string is too long. We would like to run a script in the host in order to select the tags and properties we want to get in the consult


 

0 Kudos
Message 5 of 7
(2,193 Views)
Solution
Accepted by topic author jesusrojas

I suggest looking through the API documentation for tags: https://api.systemlinkcloud.com/?urls.primaryName=Tag%20Service. I suggest creating to the tags you want then calling GET on the selection to return the values and properties for those tags. 

 

Mark
NI App Software R&D
Message 6 of 7
(2,187 Views)

Thank you very much for your attention and response. We will check this documentation in order to get the appropriate syntax to make the consult we require. The API documentation's link you shared is very useful. Thanks and regards

0 Kudos
Message 7 of 7
(2,169 Views)