13.07.2015 Views

Using Caché Studio - InterSystems Documentation

Using Caché Studio - InterSystems Documentation

Using Caché Studio - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11Adding XData Blocks to a ClassAn XData block is a block of XML code that you can add to your class definition.You can add an XData block to a class definition in two ways:• Editing the class definition using the Class Editor.• <strong>Using</strong> the XData wizardTo add an XData block using the Class Editor, position the cursor at a blank line and enter an XDatadeclaration:XData ProductionDefinition{}Alternatively, you can copy and paste an existing XData block and then edit it.11.1 New XData WizardYou can invoke the New Projection wizard using the Class > Add > New XData. Alternatively, rightclickin the Class Inspector and select Add Projection.The New XData wizard displays a single page prompting you for a name for the XData block and adescription. To end, click Finish. Add XML code into the Class Editor window to complete the XDatablock.The New XData wizard prompts you for the following information (you can later modify any of thesevalues):<strong>Using</strong> <strong>Caché</strong> <strong>Studio</strong> 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!