Web panel: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
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 [[Panel]] item in the browser of the [[Viewer]] interface. Content ranges from simple text to full web pages, depending on the [[Panel#Types|panel type]]: Text, Web, or Excel.
===GET html===
API Endpoint: web/panel.html


The panel's dimensions are configurable, but the final size is limited by the application 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&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]]
|api=
* [[Api session event editor panel set url]]
}}
}}


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

Latest revision as of 08:39, 22 September 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&id=ID&token=WEB_TOKEN

See also