SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
SIDE-Labs for Alfresco
   A BlueXML Open Source Project



Getting Started - Tutorial
            (Version 0.1)
Copyright, Trademark, and Version Notices
Copyright Notice Copyright © 2005-2011 BlueXML
All rights reserved. Information relating to the architecture and software described in this guide is proprietary
to BlueXML and, as applicable, its licensors. Rights to use the software and the accompanying
documentation are governed by a separate license agreement from BlueXML presented prior to software
installation. Information in this document is subject to change without notice. No part of this guide may be
reproduced or published in any form or by any means, electronic or mechanical, including photocopying, for
any purpose other than the purchaser's personal use.
Trademark Notice
BlueXML, SIDE, KerBlue are trademarks or service marks of BlueXML. Other company and product names
may be the trademarks or service marks of third parties. Third party software is installed as distinct,
unmodified software programs during the SIDE platform installation process. Licensing information pertaining
to those third party programs is available on the SIDE Installation package.
Document and Software Versions
    •   Document Version 1.3
    •   Software Version 1.0 & 2.0
BlueXML - SIDE                                                                                                                             SIDE Getting Started Guide

3
    TABLE OF CONTENT
    STEP 1 : PROJECT INITIALIZATION.............................................................................................................. 4
       PROJECT CREATION.................................................................................................................................................... 4
       DATA MODEL CREATION.............................................................................................................................................5
       INITIALIZATION, GENERATION AND DEPLOYMENT............................................................................................................ 6
       TEST AND ENJOY........................................................................................................................................................8
          Create a new site...............................................................................................................................................8
          Add a document.................................................................................................................................................8
          Search for documents......................................................................................................................................10
          Data List..........................................................................................................................................................12




      BlueXML - Copyright 2011
STEP 1 : PROJECT INITIALIZATION
   Project Creation
We want to create an application to manage invoices. At the end of this tutorial, we'll have two applications:
    •   Alfresco Share application
    •   Domain Specific Application, based on ExtJS
Follow these steps to create a new project inside SIDE:
    •   Launch SIDE
    •   Go to File/New.../Project.../SIDE




    •   Choose SIDE




    •   Click Finish. SIDE will create a project with a complete directory structure




The build directory will contain generated files and log report about the generation and deployment process.
BlueXML - SIDE                                                                         SIDE Getting Started Guide
 The src/configs will will contain configuration files that need to be directly deployed in Alfresco, such as
5alfresco-shared.properties
 The src/models directory will contain models:
     •   application model, to configure generation and deployment options
     •   data model, to design data structure and storage
     •   form model, to design form
     •   portal model, to design the application
     •   view model, to design queries and views
     •   workflow model, to design processes with actors, tasks, transitions, …
 The src/modules directory will contain maven projects, which may be managed through SIDE
 (packaged as amp files, deployed automatically, patched to alfresco.war and share.war), ...


     Data Model Creation
 Let's create a Data Model for our invoice management application:
     •   Open your “InvoiceManagement” project
     •   Open your 'src/models' folder
     •   Right click on 'data' folder and select File / New / Other...
     •   Open 'SIDE' folder
     •   Select 'Side Data Diagram'




                                 Illustration 1: SIDE Model Creation
     We want to make a complete example, not too complicated. We'll just add 2 classes or content
     types:


  BlueXML - Copyright 2011                                                                 Step 1 : Project Initialization
BlueXML - SIDE                                                                          SIDE Getting Started Guide
        •   Invoice, which is a true content type, with a content. This class inherits Alfresco cmcontent.
6
        •   Company, which is a content less type, what could be called a data list. Company is only
            made of meta-data, no content at all. This class inherits Alfresco dataListItem.




        Initialization, Generation and Deployment
    We're going to initialize the form, view and application model directly from data model:
        •   Select your .dt data model
        •   Right-click and choose Initialize Models




    Be careful to select your TOMCAT_HOME and not Alfresco home. Otherwise, you will have a
    deployment error.
    By clicking on Finish, various models will be created. You will finish on this screen:


     BlueXML - Copyright 2011                                                                 Step 1 : Project Initialization
BlueXML - SIDE                                SIDE Getting Started Guide

7




    You have now the following directory layout:




     BlueXML - Copyright 2011                       Step 1 : Project Initialization
BlueXML - SIDE                                                                 SIDE Getting Started Guide
 Once clicked, the generation process will be launched automatically if you chose the “Launch
8Generation” option. Otherwise, you still can launch the generation process by hand:
    •    Select your application model
    •    Right-click on it and choose SIDE/Launch Generation/InvoiceManagement


    Test and enjoy
           Create a new site
 Go and connect on your Alfresco Share server:
    •    Open your browser
    •    Go to http://localhost:8080/share
    •    Create a new site, based on the InvoiceManagement template we just created:




           Add a document
 You are now in your Invoice Management site.
    •    Go to the Document library
    •    Create a new folder called Suppliers
    •    Go into it
    •    Click on Add a document
    •    Choose your document
    •    Select your document content type. Choose Invoice.




  BlueXML - Copyright 2011                                                         Step 1 : Project Initialization
BlueXML - SIDE                                                                      SIDE Getting Started Guide

9




        •   Click on Add a file




    You can see all the Invoice meta data on the screen. We'll see in step 2 how to customize view models
    and select only the ones you want.
        •   Click on Edit metadata
    All the aspects are available as tabs. The complete layout may be changed to use panels, bordered
    panels, … You can express all the share-form configuration. Associations are available as browse
    buttons. The associations may be changed to use drop plain down lists, checkbox list If cardinality is >
    1, radio list otherwise. We'll see in Step 2 how to customize forms.




     BlueXML - Copyright 2011                                                              Step 1 : Project Initialization
BlueXML - SIDE                                                SIDE Getting Started Guide

10




        •    Click on the document you just updated




     The create form is also used in view mode.


               Search for documents
     Besides create forms, search forms have also been generated.
        •    Click on Advanced Search near the search engine icon




      BlueXML - Copyright 2011                                       Step 1 : Project Initialization
BlueXML - SIDE                                        SIDE Getting Started Guide

11




       •    Choose the search form you are interested in




     BlueXML - Copyright 2011                               Step 1 : Project Initialization
BlueXML - SIDE                                                              SIDE Getting Started Guide

12




               Data List
     Go to Invoice Management site home page
        •    Click on Data List
        •    Click on New List, choose the one you want and name it “Suppliers”




      BlueXML - Copyright 2011                                                     Step 1 : Project Initialization
BlueXML - SIDE                                     SIDE Getting Started Guide

13




       •    An empty datagrid appears
       •    Click on New Item and fill in the details




       •    An element now appears in the datagrid




     BlueXML - Copyright 2011                            Step 1 : Project Initialization
BlueXML - SIDE                                                                     SIDE Getting Started Guide

14




     All the available elements are displayed by default. You will see in step 2 how to customize the fields
     you want to display.
     If you come back in your document library and update your invoice, you can now select the company
     you just created in a drop down list.
     It's time now to update your form and views to exactly suit your needs.




      BlueXML - Copyright 2011                                                             Step 1 : Project Initialization
BlueXML - SIDE             SIDE Getting Started Guide

15




     BlueXML - Copyright 2011    Step 1 : Project Initialization

Contenu connexe

Similaire à Side getting started - tutorial

Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-docAmit Sharma
 
Codemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab TutorialCodemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab Tutorialgjuljo
 
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015Codemotion
 
Chapter A Guide to Using Microsoft Project 2013 Exploring Pro.docx
Chapter A Guide to Using Microsoft Project 2013 Exploring Pro.docxChapter A Guide to Using Microsoft Project 2013 Exploring Pro.docx
Chapter A Guide to Using Microsoft Project 2013 Exploring Pro.docxmccormicknadine86
 
Oracle Application Developmenr Framework
Oracle Application Developmenr FrameworkOracle Application Developmenr Framework
Oracle Application Developmenr FrameworkGurpreet singh
 
Knolidge - Discover What You Have
Knolidge - Discover What You HaveKnolidge - Discover What You Have
Knolidge - Discover What You Haveknolidge
 
BI-Publisher-Tutorial-Lesson-2.pdf
BI-Publisher-Tutorial-Lesson-2.pdfBI-Publisher-Tutorial-Lesson-2.pdf
BI-Publisher-Tutorial-Lesson-2.pdfAhmedChakroun13
 
Building an AI and ML Model Using KNIME and Python.pptx
Building an AI and ML Model Using KNIME and Python.pptxBuilding an AI and ML Model Using KNIME and Python.pptx
Building an AI and ML Model Using KNIME and Python.pptxssuser448ad3
 
Top 10 highlights salesforce winter 18 release
Top 10 highlights salesforce winter 18 releaseTop 10 highlights salesforce winter 18 release
Top 10 highlights salesforce winter 18 releaseNigam Goyal
 
Creating an artifact at the project level
Creating an artifact at the project levelCreating an artifact at the project level
Creating an artifact at the project levelIBM Rational software
 
Introduction to Bluemix and Watson
Introduction to Bluemix and WatsonIntroduction to Bluemix and Watson
Introduction to Bluemix and WatsonJake Peyser
 

Similaire à Side getting started - tutorial (20)

Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-doc
 
Codemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab TutorialCodemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab Tutorial
 
DotNetNuke
DotNetNukeDotNetNuke
DotNetNuke
 
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
 
Chapter A Guide to Using Microsoft Project 2013 Exploring Pro.docx
Chapter A Guide to Using Microsoft Project 2013 Exploring Pro.docxChapter A Guide to Using Microsoft Project 2013 Exploring Pro.docx
Chapter A Guide to Using Microsoft Project 2013 Exploring Pro.docx
 
Oracle Application Developmenr Framework
Oracle Application Developmenr FrameworkOracle Application Developmenr Framework
Oracle Application Developmenr Framework
 
Homestead demo
Homestead demoHomestead demo
Homestead demo
 
Lotus Domino
Lotus DominoLotus Domino
Lotus Domino
 
Knolidge - Discover What You Have
Knolidge - Discover What You HaveKnolidge - Discover What You Have
Knolidge - Discover What You Have
 
Access5
Access5Access5
Access5
 
Visual studio-database-project
Visual studio-database-project Visual studio-database-project
Visual studio-database-project
 
BI-Publisher-Tutorial-Lesson-2.pdf
BI-Publisher-Tutorial-Lesson-2.pdfBI-Publisher-Tutorial-Lesson-2.pdf
BI-Publisher-Tutorial-Lesson-2.pdf
 
Ssrs tutorial
Ssrs tutorialSsrs tutorial
Ssrs tutorial
 
Building an AI and ML Model Using KNIME and Python.pptx
Building an AI and ML Model Using KNIME and Python.pptxBuilding an AI and ML Model Using KNIME and Python.pptx
Building an AI and ML Model Using KNIME and Python.pptx
 
Bluemix DevOps Services
Bluemix DevOps Services Bluemix DevOps Services
Bluemix DevOps Services
 
Top 10 highlights salesforce winter 18 release
Top 10 highlights salesforce winter 18 releaseTop 10 highlights salesforce winter 18 release
Top 10 highlights salesforce winter 18 release
 
Creating an artifact at the project level
Creating an artifact at the project levelCreating an artifact at the project level
Creating an artifact at the project level
 
Blueworks Live Ninja Lab
Blueworks Live Ninja LabBlueworks Live Ninja Lab
Blueworks Live Ninja Lab
 
IBM Blueworks Live Ninja Lab
IBM Blueworks Live Ninja LabIBM Blueworks Live Ninja Lab
IBM Blueworks Live Ninja Lab
 
Introduction to Bluemix and Watson
Introduction to Bluemix and WatsonIntroduction to Bluemix and Watson
Introduction to Bluemix and Watson
 

Dernier

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Dernier (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Side getting started - tutorial

  • 1. SIDE-Labs for Alfresco A BlueXML Open Source Project Getting Started - Tutorial (Version 0.1)
  • 2. Copyright, Trademark, and Version Notices Copyright Notice Copyright © 2005-2011 BlueXML All rights reserved. Information relating to the architecture and software described in this guide is proprietary to BlueXML and, as applicable, its licensors. Rights to use the software and the accompanying documentation are governed by a separate license agreement from BlueXML presented prior to software installation. Information in this document is subject to change without notice. No part of this guide may be reproduced or published in any form or by any means, electronic or mechanical, including photocopying, for any purpose other than the purchaser's personal use. Trademark Notice BlueXML, SIDE, KerBlue are trademarks or service marks of BlueXML. Other company and product names may be the trademarks or service marks of third parties. Third party software is installed as distinct, unmodified software programs during the SIDE platform installation process. Licensing information pertaining to those third party programs is available on the SIDE Installation package. Document and Software Versions • Document Version 1.3 • Software Version 1.0 & 2.0
  • 3. BlueXML - SIDE SIDE Getting Started Guide 3 TABLE OF CONTENT STEP 1 : PROJECT INITIALIZATION.............................................................................................................. 4 PROJECT CREATION.................................................................................................................................................... 4 DATA MODEL CREATION.............................................................................................................................................5 INITIALIZATION, GENERATION AND DEPLOYMENT............................................................................................................ 6 TEST AND ENJOY........................................................................................................................................................8 Create a new site...............................................................................................................................................8 Add a document.................................................................................................................................................8 Search for documents......................................................................................................................................10 Data List..........................................................................................................................................................12 BlueXML - Copyright 2011
  • 4. STEP 1 : PROJECT INITIALIZATION Project Creation We want to create an application to manage invoices. At the end of this tutorial, we'll have two applications: • Alfresco Share application • Domain Specific Application, based on ExtJS Follow these steps to create a new project inside SIDE: • Launch SIDE • Go to File/New.../Project.../SIDE • Choose SIDE • Click Finish. SIDE will create a project with a complete directory structure The build directory will contain generated files and log report about the generation and deployment process.
  • 5. BlueXML - SIDE SIDE Getting Started Guide The src/configs will will contain configuration files that need to be directly deployed in Alfresco, such as 5alfresco-shared.properties The src/models directory will contain models: • application model, to configure generation and deployment options • data model, to design data structure and storage • form model, to design form • portal model, to design the application • view model, to design queries and views • workflow model, to design processes with actors, tasks, transitions, … The src/modules directory will contain maven projects, which may be managed through SIDE (packaged as amp files, deployed automatically, patched to alfresco.war and share.war), ... Data Model Creation Let's create a Data Model for our invoice management application: • Open your “InvoiceManagement” project • Open your 'src/models' folder • Right click on 'data' folder and select File / New / Other... • Open 'SIDE' folder • Select 'Side Data Diagram' Illustration 1: SIDE Model Creation We want to make a complete example, not too complicated. We'll just add 2 classes or content types: BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 6. BlueXML - SIDE SIDE Getting Started Guide • Invoice, which is a true content type, with a content. This class inherits Alfresco cmcontent. 6 • Company, which is a content less type, what could be called a data list. Company is only made of meta-data, no content at all. This class inherits Alfresco dataListItem. Initialization, Generation and Deployment We're going to initialize the form, view and application model directly from data model: • Select your .dt data model • Right-click and choose Initialize Models Be careful to select your TOMCAT_HOME and not Alfresco home. Otherwise, you will have a deployment error. By clicking on Finish, various models will be created. You will finish on this screen: BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 7. BlueXML - SIDE SIDE Getting Started Guide 7 You have now the following directory layout: BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 8. BlueXML - SIDE SIDE Getting Started Guide Once clicked, the generation process will be launched automatically if you chose the “Launch 8Generation” option. Otherwise, you still can launch the generation process by hand: • Select your application model • Right-click on it and choose SIDE/Launch Generation/InvoiceManagement Test and enjoy Create a new site Go and connect on your Alfresco Share server: • Open your browser • Go to http://localhost:8080/share • Create a new site, based on the InvoiceManagement template we just created: Add a document You are now in your Invoice Management site. • Go to the Document library • Create a new folder called Suppliers • Go into it • Click on Add a document • Choose your document • Select your document content type. Choose Invoice. BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 9. BlueXML - SIDE SIDE Getting Started Guide 9 • Click on Add a file You can see all the Invoice meta data on the screen. We'll see in step 2 how to customize view models and select only the ones you want. • Click on Edit metadata All the aspects are available as tabs. The complete layout may be changed to use panels, bordered panels, … You can express all the share-form configuration. Associations are available as browse buttons. The associations may be changed to use drop plain down lists, checkbox list If cardinality is > 1, radio list otherwise. We'll see in Step 2 how to customize forms. BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 10. BlueXML - SIDE SIDE Getting Started Guide 10 • Click on the document you just updated The create form is also used in view mode. Search for documents Besides create forms, search forms have also been generated. • Click on Advanced Search near the search engine icon BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 11. BlueXML - SIDE SIDE Getting Started Guide 11 • Choose the search form you are interested in BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 12. BlueXML - SIDE SIDE Getting Started Guide 12 Data List Go to Invoice Management site home page • Click on Data List • Click on New List, choose the one you want and name it “Suppliers” BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 13. BlueXML - SIDE SIDE Getting Started Guide 13 • An empty datagrid appears • Click on New Item and fill in the details • An element now appears in the datagrid BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 14. BlueXML - SIDE SIDE Getting Started Guide 14 All the available elements are displayed by default. You will see in step 2 how to customize the fields you want to display. If you come back in your document library and update your invoice, you can now select the company you just created in a drop down list. It's time now to update your form and views to exactly suit your needs. BlueXML - Copyright 2011 Step 1 : Project Initialization
  • 15. BlueXML - SIDE SIDE Getting Started Guide 15 BlueXML - Copyright 2011 Step 1 : Project Initialization