Recent Posts

Pages: [1] 2 3 ... 10
1
Hi Hervé,
thanks a lot for this workaround. It's perfect!
2
Hi,

There's already a way to create a partial report in the default jasper report. This involves adding "Tag" properties to the views and then generating a report based on that tag.

This is explained in the "Jesper Reports" section of the Archi User Guide that your can open through the Help menu or read online (p. 85).

I've also designed a simple and rough way to hide parts of the HTML report but this is not mainstream for the moment.

Regards,

JB
3
General Archi Discussion / Re: Duplicate a model with a new identifier
« Last post by Hervé on September 19, 2017, 22:45:45 PM »
Hi,

Alternatively, you may download my form plugin (https://github.com/archi-contribs/form-plugin).

Then create a configuration file containing the following lines:
Code: [Select]
{
    "version": 2,
    "org.archicontribs.form": [{
        "spacing": 4,
        "refers": "model",
        "name": "change model's ID",
        "width": 400,
"height": 200,
        "tabs": [{
            "name": "Id",
            "controls": [
               {
                  "x": 5,
                  "y": 10,
                  "text": "Model's ID:",
                  "class": "label"
               },
               {
                  "fontBold": true,
                  "x": 80,
  "y": 10,
                  "width": 320,
                  "variable": "${id}",
                  "class": "text"
               }
]}
      ]
    }]
 }

You configure this file in the plugin's preference (Archi menu "Edit" / "preferences" / "form plugin" and finally, you right click on any component of your model to show up the context menu.

When you select the form, you are able to change your model ID.

Hope this helps

Best regards
Hervé
4
Archi Development / Re: Export HTML report with selected views
« Last post by Hervé on September 19, 2017, 22:24:00 PM »
Hi Juan,

What you wish to achieve is exactly what I implemented in my company.

You can do it using my database plugin (https://github.com/archi-contribs/database-plugin/tree/master/v2) following the following steps:
  • you export your model to a database (you may use a SQLite one if you will be the only one using it)
  • you create an empty model and import from the database the views you wish to expose (using right click "import individual componenents"). Please double check that you selected the "shared" import mode.
  • you export to the database this newly created model

This way, you can choose which views will be part of your second model and therefore which views will be reported to HTML.

The views will be shared between your two models. All the updates done in the views in your first model will be automatically seen in your second model.

By the way, you can automate the HTML report every night using a planned task on Windows or a crontab on Linux using my script plugin (https://github.com/archi-contribs/script-plugin).

Hope this helps
Hervé
5
Archi Development / Export HTML report with selected views
« Last post by jucanoma on September 19, 2017, 20:52:45 PM »
Hi everybody
In my area we want to share some of the views we have modeled in Archi but there are some views we can't share. Does is exist any plugin who can do this or is it neccesary to make an improvement in the HTMLReportExporter to make it possible.
I'm not expert in org.eclipse.swt components but I saw in the jasper package how to make a wizard to put in the first page the selection of views and in the second page the selection of the target folder. I'm not sure if this is the best way and I want to ask how can I iterate the model to show the views.
I appreciate your help
Best Regards
Juan
6
General Archi Discussion / Re: Duplicate a model with a new identifier
« Last post by Jose-Carlos on September 19, 2017, 15:51:10 PM »
Thanks Phil for your reactivity.
I'll wait for next build annoncement to download the new version with this improvment.
7
General Archi Discussion / Re: Duplicate a model with a new identifier
« Last post by Phil Beauvoir on September 19, 2017, 13:53:10 PM »
I've just made a change to the code so that new IDs are generated for all objects and model when creating a new model from a template.

As for when someone manually copies the file, I can't do anything about that.
8
General Archi Discussion / Re: Duplicate a model with a new identifier
« Last post by Jose-Carlos on September 19, 2017, 13:24:11 PM »
For example, when I create a model from a template or by copying the archimate extention file. those two actions keep the model id.
9
General Archi Discussion / Re: Duplicate a model with a new identifier
« Last post by Phil Beauvoir on September 19, 2017, 09:42:08 AM »
I don't understand where you are duplicating a model?
10
General Archi Discussion / Duplicate a model with a new identifier
« Last post by Jose-Carlos on September 19, 2017, 09:27:37 AM »
Hi,
is there a way to duplicate a model with a new id?
It generates some troubles when new models created from another one are stored using database plugin. Identifier is the same and model is considered as a new version and not a new model.

Today, I use an editor to modify manualy the id, but a duplicate model function will be usefull.
Thanks.
Pages: [1] 2 3 ... 10