Hi,
How can i add blueprint device ID in “customize analysis scope” option given in “header buttons” of a widget?
Thank you
Hi,
How can i add blueprint device ID in “customize analysis scope” option given in “header buttons” of a widget?
Thank you
Hi Hegde,
Here’s an input form example!
I ran an analysis to get an example scope and context with the blueprint devices:
[
2024-08-0109: 36: 44
]Servicesfound: [
‘createUser’
][
2024-08-0109: 36: 44
]SCOPE: [
{
"variable": "new\_user\_name",
"time": "2024-08-01T12:36:42.893Z",
"created\_at": "2024-08-01T12:36:42.893Z",
"value": "Example",
"id": "66ab815aa127ef0009a5f13c",
"group": "1722515802393",
"device": "64a5ae27e5caa50009c8c759"
},
{
"variable": "new\_user\_email",
"time": "2024-08-01T12:36:42.895Z",
"created\_at": "2024-08-01T12:36:42.895Z",
"value": "[ExampleUser@tago.io](mailto:ExampleUser@tago.io)",
"id": "66ab815aa127ef0009a5f13d",
"group": "1722515802393",
"device": "64a5ae27e5caa50009c8c759"
},
{
"variable": "new\_user\_phone",
"time": "2024-08-01T12:36:42.897Z",
"created\_at": "2024-08-01T12:36:42.897Z",
"value": "637126378123",
"id": "66ab815aa127ef0009a5f13e",
"group": "1722515802393",
"device": "64a5ae27e5caa50009c8c759"
},
{
"variable": "new\_user\_access",
"time": "2024-08-01T12:36:42.899Z",
"created\_at": "2024-08-01T12:36:42.899Z",
"value": "admin",
"metadata": {
"label": "Administrator"
},
"id": "66ab815aa127ef0009a5f13f",
"group": "1722515802393",
"device": "64a5ae27e5caa50009c8c759"
},
{
"variable": "new\_user\_site",
"time": "2024-08-01T12:36:42.900Z",
"created\_at": "2024-08-01T12:36:42.900Z",
"value": "64a5ae794a3f1f000925e476",
"metadata": {
"id": "64a5ae794a3f1f000925e476",
"name": "Site One"
},
"id": "66ab815aa127ef0009a5f140",
"group": "1722515802393",
"device": "64a5ae27e5caa50009c8c759"
},
{
"input\_form\_button\_id": "create-user"
}
][
2024-08-0109: 36: 44
]CONTEXT: {
“token”: “a-b365d108-d39a-48be-839b-9255f7512c39”,
“environment”: [
{
"key": "\_dashboard\_id",
"value": "64665f75f7eb7500086b6332"
},
{
"key": "\_widget\_id",
"value": "646665632e95060009eec2e1"
}
],
“analysis_id”: “646cc0b7deae760009957658”
}[
2024-08-0109: 36: 43
]
StartingAnalysis…