Web panel: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The ''web panel'' is a panel that opens when inspecting a [[Panel]] item, either by clicking on its [[popup]] in the [[3D Visualization]] or by opening using the [[editor ]]interface.
API Base URL: web/panel


It shows the html (web) content that is configured in the [[Web Panel]] item in the browser of the [[viewer ]]interface. This can be a simple text to an official web page, depending on the [[Panel#Types|type of panel]]; Text, Web or Excel.
===GET html===
API Endpoint: web/panel.html


The panel currently has a set width and height, which is configured in the [[Web Panel]]'s panel, though the actual size of the panel is still limited by the size of your window.
Response Content-Type: text/html


<gallery heights=300px widths=300px>
'''Parameters:'''
File:Web_panel_of_text_panel_item.png|Web panel showing the content of a [[Text Panel]] item.
{|class=wikitable
File:Web_panel_of_web_panel_item.png|Web panel showing the content of a [[Web Panel]] item.
!Name
File:Web_panel_of_excel_panel_item.png|Web panel showing the content of an [[Excel Panel]] item.
!Location
</gallery>
!Type
!Default value
|-
| stakeholderid
| Query
| Integer
| -1
|-
| path
| Path
| String
|
|-
| id
| Query
| Integer
| -1
|-
| css
| Query
| Boolean
|  
|}
 
====Examples====
'''Web panel''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/panel.html?id=ID&token=WEB_TOKEN</syntaxhighlight>


{{article end
{{article end
|seealso=
|seealso=
*[[Panel]]
*[[Endpoints]]
|howto=
* [[How to add a Panel which can be opened from an Action Menu]]
}}
}}


{{viewer nav}}
[[Category:API]]

Latest revision as of 12:35, 11 November 2026

API Base URL: web/panel

GET html

API Endpoint: web/panel.html

Response Content-Type: text/html

Parameters:

Name Location Type Default value
stakeholderid Query Integer -1
path Path String
id Query Integer -1
css Query Boolean

Examples

Web panel:

https://engine.tygron.com/web/panel.html?id=ID&token=WEB_TOKEN

See also