ReferenceTips

From SMTX Wiki
Jump to navigation Jump to search

How to create a reference to SSP's Knowledge Management (KM) pages.

To refer to a KM page in a form, create a read-only field where the default value is going to be something like this

'<a href='../KM/serviceCatalog.aspx?s=ssp&shadowbox=1' class="fancybox">SSP Information</a>'

where s=ssp is the keyword to search in KM

shadowbox=1 (a fancybox is a shadowbox iframe, it hides all navigation, footers and breadcrumbs)

SSP Information is the display text

other options activeelementid=11 goes to node 11 directly

---real life example--- 1. Ga in admin gaan, om de ‘node-id’ te vinden
2. Wanneer je deze pagina aanpast in de admin, dan zie je deze link : https://ssp.siemens.be/KM/Admin/elementDetail.aspx?id=32
3. Hier zie je dus dat de node=32
4. Dus wordt de link: https://ssp.siemens.be/KM/serviceCatalog.aspx?activeelementid=32
5. Nu kan je ook de linkse & rechte navigatie laten vallen, dmv van ‘&shadowbox=1’
6. Dan wordt de link : https://ssp.siemens.be/KM/serviceCatalog.aspx?activeelementid=32&shadowbox=1
7. Dit wordt interessant om in een popup te laten zien. Daarvoor moeten we in de HTML van de link nog de class toevoegen : class="fancybox">
8. Dan wordt de HTML code van de link :
'<a href=”https://ssp.siemens.be/KM/serviceCatalog.aspx?activeelementid=32&shadowbox=1” class="fancybox">Click here</a>'