You are on page 1of 7

Workbook Properties

Step to Develops

Step 1 Script Discovery


Title
Count

Class

Find out how to create Title and other


labels in pure javascript powerbi
standalone

Step 2 Script Modeling


Transform powerbi script into json
model
If the script is in javascript create
corresponding typescript to increate
understanding
Generalize the model for all powerbi
visualization type and non powerbi
visualization
Use diva properties to sharp the model

Step 3 - Extension Model


Transform the model into extension
model
Use only string, number, boolean, array
and object
User regular properties name such as
Label, Name and other, see how diva
properties built
Build complete properties model for all 5
visualization

Step 4 Extension
Composition
Repeating properties is subject to
composition
Reusable properties
Text
Color
Size

Title (Text, Color, Size)*


Label (Text, Color, Size)**

Step 5 UI Integration
Integrate extension model
composition into UI (Properties Tab)
Alternative:
Use PlanFieldViewer for simplest
integration
Build own extension viewer from scratch
for maximum flexibility only for 5 object
(string, number, boolean, array and
object)

Step 6. Custom Field


Field such Color and Number is
string, need custom field to increase
user experience (see chrome dev)
See how UploadFileField integrated
into extension viewer.

You might also like