You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-10-08 10:14:24

itweserems
Member
Registered: 2024-10-08
Posts: 3

Link to specific asset tab (forcetab?)

Hey!

We are currently developing an interface plugin for GLPI.
For the other side of the interface, we would like to generate a URL to a specific tab of an asset.
I have read some old posts about the "forcetab" url parameter but is there any documentation on which value I have to assign to this parameter for which tabs?

For example: We would like to embed a link to the "Software" tab/form of Computers.

So it should be something like https://my-glpi-server/front/computer.form.php?id=5&forcetab=Software$1

Thanks & best regards from Germany!

Offline

#2 2024-10-08 13:12:44

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,809
Website

Re: Link to specific asset tab (forcetab?)

Right click the tab and copy the link to see it.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2024-10-08 13:53:01

itweserems
Member
Registered: 2024-10-08
Posts: 3

Re: Link to specific asset tab (forcetab?)

Hey, a mix of both actually solved it.
If I copy the link from right-clicking the tab, it doesn't work in a new browser tab.
Neither does the "_glpi_tab=Item_SoftwareVersion" work.

But if I just use "https://my-glpi-server/front/computer.form.php?id=5&forcetab=Item_SoftwareVersion$1" it works fine.

I think that is something worth to be noted in GLPI docs. ;-) Or is it already and I just missed it?

Offline

Board footer

Powered by FluxBB