POST Deployment v1.16.0
Update Applications addon
MANDATORY
The Applications addon must be configured properly for the improvements to work.
To do this,
Add new column
- Access to Syntphony Settings (previously called TOGO Settings).
- Access the This Tenant menu.
- Access the Addons section.
- Open the Applications addon.
- Export the addon.
- Edit the JSON file on your computer by adding the following column to the “columns” array section within the “content type” section:
{
"uniqueId": "d3f3e2e1-2f3e-4c8e-8f3a-2c3e4f5a6b7c",
"title": "HideOnMobile",
"name": "TogoHideOnMobile",
"description": "Hide on mobile",
"type": "Checkbox",
"defaultValue": "False",
"isBase": true,
"searchProperty": "TogoHideOnMobileOWSBOOL"
}- Then, go back to Addons section and import the entire addon.
- Save as Draft.
Update Translations
- Go to Translations form.
- Access to en-US translation.
- Add the new translations to the end:
"hideOnMobile": "Hide on mobile",
"hideOnMobileDescription": "Select if you want to hide the application on mobile devices"- Access to es-ES translation.
- Add the new translations to the end:
"hideOnMobile": "Ocultar en móvil",
"hideOnMobileDescription": "Seleccione si desea ocultar la aplicación en dispositivos móviles"- If you have more languages, please add the translation of these properties.
- Save as Draft.
Update Creation form
- Go to Forms section.
- Go to Creation form.
- On the Design tab, locate the field highlighted and add the new Hide on mobile field as follows:
{
"name": "hideOnMobile",
"type": "Toggle",
"label": {
"t": "forms.hideOnMobile"
},
"description": {
"t": "forms.hideOnMobileDescription"
},
"validation": {
"required": false
},
"checkedText": {
"t": "common.yes"
},
"uncheckedText": {
"t": "common.no"
}
}- On the Submit model tab, add the following code after the last property:
"togoHideOnMobile": "{hideOnMobile}"- Save as Draft.
Update Edition form
- Go to Forms section.
- Go to Edition form.
- On the Design tab, locate the field highlighted and add the new Hide on mobile field as follows:
{
"name": "hideOnMobile",
"type": "Toggle",
"label": {
"t": "forms.hideOnMobile"
},
"description": {
"t": "forms.hideOnMobileDescription"
},
"validation": {
"required": false
},
"checkedText": {
"t": "common.yes"
},
"uncheckedText": {
"t": "common.no"
},
"value": "{fields.togoHideOnMobile}"
}- Add the following code after the last property on the Submit model tab:
"togoHideOnMobile": "{hideOnMobile}"- Save as Draft.
Update Display form
- Go to Forms section.
- Go to Display form.
- On the Design tab, locate the field highlighted and add the new Hide on mobile field as follows:
{
"name": "hideOnMobile",
"type": "Toggle",
"label": {
"t": "forms.hideOnMobile"
},
"description": {
"t": "forms.hideOnMobileDescription"
},
"validation": {
"required": false
},
"checkedText": {
"t": "common.yes"
},
"uncheckedText": {
"t": "common.no"
},
"value": "{fields.togoHideOnMobile}",
"disabled": true
}- Publish the addon.
IMPORTANT: All communities with Applications addon installed must be re-provisioned for the changes to take effect.