|
|
| (5 versions intermédiaires par le même utilisateur non affichées) |
| Ligne 1 : |
Ligne 1 : |
| <PageSchema>
| |
| <!-- ========= Formulaire minimal ========= -->
| |
| <pageforms_Form name="ZoteroPageCreation">
| |
| <Layout>
| |
| <!-- Champ que l’utilisateur remplira -->
| |
| <Part type="full_line">
| |
| <Label>Nom de la page (Titre, Référence)</Label>
| |
| <InputField>PageName</InputField>
| |
| </Part>
| |
|
| |
| <!-- Bloc wikitexte encore vide (étape c : “Test seulement.”) -->
| |
| <Part type="free_text">
| |
| <Label>Recherche Zotero et sélection</Label>
| |
| <Text><![CDATA[
| |
| {{#get_web_data:
| |
| url=https://api.zotero.org/groups/4893620/items?q={{#urlencode:{{#explode:{{{PageName}}}|,|0}}}}&qmode=everything&limit=10&include=data&format=json
| |
| |use jsonpath=true
| |
| |data=key=$[*].key, title=$[*].data.caseName
| |
| }}
| |
| ]]></Text>
| |
| </Part>
| |
| </Layout>
| |
|
| |
| <!-- Boutons standards (Enregistrer/Annuler) -->
| |
| <BuiltInButtons>
| |
| <SaveButton />
| |
| <CancelButton />
| |
| </BuiltInButtons>
| |
|
| |
| <!-- Mappage formulaire → template -->
| |
| <pageforms_Template name="ZoteroPage">
| |
| <pageforms_Field name="PageName" />
| |
| <pageforms_Field name="ZoteroKey" />
| |
| </pageforms_Template>
| |
| </pageforms_Form>
| |
|
| |
| <!-- ========= Template minimal ========= -->
| |
| <Template name="ZoteroPage">
| |
| <Field name="PageName" />
| |
| <Field name="ZoteroKey" />
| |
| </Template>
| |
| </PageSchema>
| |
|
| |
| {{#default_form:ZoteroPageCreation}} | | {{#default_form:ZoteroPageCreation}} |