This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
auto_barcodes [2022/03/08 13:23] yves |
auto_barcodes [2022/03/08 13:28] (current) yves |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ==== The role of PMA.core ==== | ==== The role of PMA.core ==== | ||
| - | PMA.core has a built-in mechanism to retrieve metadata from for a slide through a back-end API call: | + | [[https://www.pathomation.com/pma.core|PMA.core]] has a built-in mechanism to retrieve metadata from for a slide through a back-end API call: |
| {{::barcode0_10.png?400|}} | {{::barcode0_10.png?400|}} | ||
| Line 31: | Line 31: | ||
| {{::barcode1.jpg?400|}} | {{::barcode1.jpg?400|}} | ||
| - | You may already know how to create a link to the slide by means of its full path: | + | You may already know [[auto_slides|how to create a link to the slide by means of its full path]]: |
| - | %%https://server/pma.studio/?serverUrl=https%3A%2F%2Fserver%2Fpma.core%2F&path=path%2Fto%2Fslide%2FPhilips02_UZBSet0213.tiff | + | ''%%https://server/pma.studio/?serverUrl=https%3A%2F%2Fserver%2Fpma.core%2F&path=path%2Fto%2Fslide%2FPhilips02_UZBSet0213.tiff%%'' |
| The link to reference to it via barcode is similar. When you know the barcode of the particular slide is ''UZBset0213'', this new link becomes: | The link to reference to it via barcode is similar. When you know the barcode of the particular slide is ''UZBset0213'', this new link becomes: | ||
| - | https://server/pma.studio/?serverUrl=https%3A%2F%2Fserver%2Fpma.core%2F&barcode=UZBset0213 | + | ''%%https://server/pma.studio/?serverUrl=https%3A%2F%2Fserver%2Fpma.core%2F&barcode=UZBset0213%%'' |
| The result of the two links is identical to the end-user: | The result of the two links is identical to the end-user: | ||
| {{::barcode2.jpg?400|}} | {{::barcode2.jpg?400|}} | ||
| + | |||
| + | ==== Syntax ==== | ||
| + | |||
| + | When | ||
| + | * PMA.studio runs at ''%%https://server/pma.studio%%'', and | ||
| + | * Your content resides on PMA.core ''%%https://server/pma.core%%'', and | ||
| + | * Your barcode is ''ABC123'' | ||
| + | |||
| + | You can create a link to the slide associated with the barcode via the call | ||
| + | |||
| + | ''%%https://server/pma.studio/?serverUrl=https%3A%2F%2Fserver%2Fpma.core%2F&barcode=ABC123%%'' | ||
| + | |||
| + | |||
| + | |||