Last modified by Aurelie Bertrand on 2025/02/07 10:13

Hide last authors
abertrand 21.1 1 {{ddtoc/}}
2
3 ----
4
Aurelie Bertrand 37.1 5 DigDash Enterprise allows you to program the automatic refresh of your data.
abertrand 4.2 6
Aurelie Bertrand 37.1 7 = Prerequisites =
abertrand 14.1 8
Aurelie Bertrand 37.1 9 For scheduling to work :
abertrand 14.1 10
Aurelie Bertrand 37.1 11 * the scheduler must be started: go to the **Configuration -> Server Status** page and check the status of the scheduler. If it is stopped, click on [[image:1706526467080-910.png||queryString="width=16&height=18" height="18" width="16"]].
12 [[image:Ordonnanceur_état_serveur.png||alt="Ordonnanceur_démarré"]]\\
13 * the scheduler user must be entered (the same as the supervisor). Initialisation must be done from the **Configuration -> Server parameters -> Additional parameters -> Refreshments** page. Consult the [[Refreshments>>doc:Digdash.deployment.configuration.configuration_guide.scheduler.WebHome]] page for more details.
abertrand 14.1 14
Aurelie Bertrand 37.1 15 = Programming refreshes =
abertrand 14.1 16
Aurelie Bertrand 37.1 17 Refreshes can be programmed at three levels:
abertrand 4.2 18
Aurelie Bertrand 37.1 19 * Information portfolio
20 * Information {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}
21 * Data model
abertrand 4.2 22
Aurelie Bertrand 37.1 23 By default, refreshes use the Default **schedule: **automatic triggering every day at 8pm.
24 You can change the parameters of this default schedule in the [[Refresh Manager>>doc:Digdash.user_guide.studio.managers.Refresh_manager.WebHome]] the new settings will apply to new roles created afterwards (they will not apply to existing roles), or create a new schedule.
abertrand 17.1 25
Aurelie Bertrand 37.1 26 For a portfolio or a newsfeed, programming is done from the properties side panel in the **{{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}** tab: select the portfolio or the flow in the list and go to the **Programming **tab in the side panel.
abertrand 4.2 27
Aurelie Bertrand 37.1 28 By default, Flows are refreshed and synchronised at the same time as the information portfolio.
abertrand 4.2 29
Aurelie Bertrand 37.1 30 [[image:Schedule_refresh_flow.png||alt="Programmation_flux"]]
abertrand 4.2 31
Aurelie Bertrand 37.1 32 For a data model, programming is done from the **Refresh **tab in the data model configuration window.
abertrand 4.2 33
Aurelie Bertrand 37.1 34 [[image:Schedule_refresh_DM.png||alt="Programmation_modele_données"]]
abertrand 4.2 35
Aurelie Bertrand 37.1 36 For a selection of data models, programming is done from the **Configuration of several data models** box, displayed by right-clicking and then **Edit **... in the context menu.
37 [[image:DMmulti_rafraîchissement.png]]
Aurelie Bertrand 22.1 38
Aurelie Bertrand 37.1 39 = Add/edit a schedule{{id name="Ajouter_programmation"/}} =
Aurelie Bertrand 31.1 40
Aurelie Bertrand 37.1 41 To create a new refresh schedule :
abertrand 4.2 42
Aurelie Bertrand 37.1 43 1. In the case of a portfolio or {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}, first uncheck the **With portfolio** box.
44 1. Click on the **+** button.
45 ➡ The **Programming **dialog box is displayed.
46 [[image:Boite_programmation.png||queryString="width=362&height=333" alt="Boite_programmation" height="333" width="362"]]
47 1. In the **Triggering** drop-down list, select the refresh type and configure the corresponding parameters (click on the link for more details on configuring each type):
48 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Automatic (scheduler)**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Automatic_refresh/]]
49 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**With data**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Refresh_with_data/]]
50 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**On external event**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Refresh_event/]]
51 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**On** **flowopening**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Refresh_open_flow/]]
52 1. You can save the defined schedule as a shared schedule. Shared refresh programming is programming that is saved and can be called up to program the refresh of other elements. Sharing can be done within a role or across all roles. To do this
53 1*. Check the **Save shared programming**... box.
54 1*. Enter a name and select the role to which you wish to share the refresh schedule, or **None** to share it with all roles.
55 See the page [[Refresh Manager>>doc:Digdash.user_guide.studio.managers.Refresh_manager.WebHome]] for more details on shared refresh schedules.
56 1. Click **OK**.
57 ➡ The schedule is added to the schedule list.
abertrand 4.4 58
Aurelie Bertrand 37.1 59 To edit a refresh schedule, select it, click the [[image:Bouton_editer.png||queryString="width=24&height=25" alt="Bouton_editer" height="25" width="24"]] button and modify the parameters as required.
abertrand 8.1 60
Aurelie Bertrand 37.1 61 = Deleting a program =
abertrand 8.1 62
Aurelie Bertrand 37.1 63 To delete a refresh programme, select it and click on the button [[image:Bouton_supprimer.png||alt="Bouton_supprimer"]].