0 Votes

Changes for page MyWiki

Last modified by Ryan C on 2025/05/14 13:49

From version 15.1
edited by Ryan C
on 2025/04/28 07:41
Change comment: There is no comment for this version
To version 11.1
edited by Ryan C
on 2025/04/28 07:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -471,23 +471,28 @@
471 471  {{/example}}
472 472  
473 473  == View File Macro ==
474 -The View File macro shows a file viewer for an attached file.
475 475  
476 -{{example}} {{pdfviewer attachment="MyPage@MyAttachedFile.pdf"/}} {{/example}}
475 +The View File macro shows a file viewer.
477 477  
477 +{{example}}
478 +{{view-file reference="Space.Page@file.pdf"/}}
479 +{{/example}}
480 +
478 478  == UI Extension Macro ==
479 -The UIExtension macro injects UI elements into extension points.
480 480  
481 -{{example}} {{uiextension id="org.xwiki.platform.panels"/}} {{/example}}
483 +The UIExtension macro injects UI elements.
482 482  
485 +{{example}}
486 +{{uiextension extensionPointId="org.xwiki.platform.template.header.after"/}}
487 +{{/example}}
488 +
483 483  == UI Extensions Macro ==
484 -The UIExtensions macro lists UI extensions for a given extension point.
485 485  
486 -{{example}} {{uiextensions extensionpoint="org.xwiki.platform.panels"/}} {{/example}}
491 +The UIExtensions macro lists UI extensions.
487 487  
493 +{{example}}
494 +{{uiextensions/}}
495 +{{/example}}
488 488  
489 489  
490 490  
491 -
492 -
493 -