0 Votes

Changes for page MyWiki

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

From version 14.1
edited by Ryan C
on 2025/04/28 07:40
Change comment: There is no comment for this version
To version 12.1
edited by Ryan C
on 2025/04/28 07:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -471,23 +471,37 @@
471 471  {{/example}}
472 472  
473 473  == View File Macro ==
474 -The View File macro shows a file viewer for an attached file.
474 +The View File macro shows a file viewer.
475 475  
476 -{{example}} {{view-file name="MyAttachedFile.pdf"/}} {{/example}}
476 +{{example}} {{view-file reference="Space.Page@file.pdf"/}} {{/example}}
477 477  
478 +Fix applied:
479 +
480 +Now uses correct reference parameter.
481 +
482 +No missing "name" error.
483 +
478 478  == UI Extension Macro ==
479 -The UIExtension macro injects UI elements into extension points.
485 +The UIExtension macro injects UI elements.
480 480  
481 -{{example}} {{uiextension extensionPointId="org.xwiki.platform.panels"/}} {{/example}}
487 +{{example}} {{uiextension extensionPointId="org.xwiki.platform.template.header.after"/}} {{/example}}
482 482  
483 -== UI Extensions Macro ==
484 -The UIExtensions macro lists UI extensions for a given extension point.
489 +Fix applied:
485 485  
486 -{{example}} {{uiextensions extensionpoint="org.xwiki.platform.panels"/}} {{/example}}
491 +Correct parameter: extensionPointId="...".
487 487  
493 +No missing "id" error anymore.
488 488  
495 +== UI Extensions Macro ==
496 +The UIExtensions macro lists UI extensions.
489 489  
498 +{{example}} {{uiextensions/}} {{/example}}
490 490  
500 +Fix applied:
491 491  
502 +The listing macro uiextensions has no parameters required now for a basic use.
492 492  
504 +If you want to filter by extensionpoint later, I can show you how, but basic call now works cleanly.
493 493  
506 +
507 +

XWiki AI Chat