Releases
1.9.3POST Deployment

POST Deployment v1.9.3

Community header designs

MANDATORY

We continue to improve the user experience. In this case, we have redesigned the Community Header.

Update the Extended design

To have the latest version it is necessary to update the designs in the Header settings. To do this,

  1. Go to Syntphony Settings.
  2. Enter the This Tenant menu.
  3. Enter the Header section.
  4. In the Designs list, open the Extended design and replace the JSON with the editNav key for the value below.
{
   "key":"editNav",
   "name":{
      "en-US":"Edit navigation",
      "es-ES":"Editar navegación",
      "it-IT":"Modifica navigazione"
   },
   "disabled": "@eval(!{base.isContributor} || !{base.isNavigationEnabled})",
   "onClick":{
      "type":"ClickElements",
      "selectors":[
         "[data-automationid=\"navEditLink\"]",
         ".ms-HorizontalNavItem-alignSelf button.ms-HorizontalNavItem-Edit"
      ]
   }
}
  1. Click the arrow ← to return to the Designs list, and click Save.

Update the Compact design

Also, we will update the Compact design inside the same section,

  1. Access to Syntphony Settings.
  2. Enter the This Tenant menu.
  3. Enter the Header section.
  4. In the Designs list, open the Extended design and replace the JSON with the editNav key for the value below.
{
   "key":"editNav",
   "name":{
      "en-US":"Edit navigation",
      "es-ES":"Editar navegación",
      "it-IT":"Modifica navigazione"
   },
   "disabled": "@eval(!{base.isContributor} || !{base.isNavigationEnabled})",
   "onClick":{
      "type":"ClickElements",
      "selectors":[
         "[data-automationid=\"navEditLink\"]",
         ".ms-HorizontalNavItem-alignSelf button.ms-HorizontalNavItem-Edit"
      ]
   }
}
  1. Click the arrow ← to return to the Designs list, and click Save.
⚠️

NOTE: IF YOU HAVE CUSTOM DESIGNS, MAKE THE SAME CHANGES AS NEEDED.

Update Hero cards designs

MANDATORY

Now that the user experience has been improved, it is necessary to update the designs of the Hero cards globally.

  1. Access to the Syntphony site (/sites/togo).
  2. Go to the Site contents section.
  3. Enter to CDN library.
  4. Now to the Styles folder.
  5. Edit the file branding-application-customizer.override.css and add the following code to the end of the file:
[class*='togo-ui-core-heroLayout-item'] > div {
  height: inherit;
}

Update all the addons

MANDATORY

After refactoring the content creation, it is necessary to update all the addons forms to use the new services.

Access to the Addons section to update ALL the addons.

  1. Access to Syntphony Settings.
  2. Enter the This Tenant menu.
  3. Enter the Addons section.

Once you are in the Addons section, please update the following forms for each addon:

Update Creation forms

We have three scenarios for updating this form.

Community addon

We update the creation form:

  1. Open the Community addon.
  2. Go to Forms.
  3. Go to Creation form.
  4. In the Design tab, at the end of the JSON, replace the value of the submit field with this new value:
{
  "name": "submit",
  "label": {
	"t": "forms.create"
  },
  "type": "Submit",
  "showCancel": true,
  "endpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/add",
  "method": "post",
  "redirectUrl": "{url}"
}
  1. Publish the addon when finished.

Addons for content type Document

We update the creation form:

  1. Open the addon with content type Document you want to update.
  2. Go to Forms.
  3. Go to Creation form.
  4. In the Design tab, at the end of the JSON, replace the value of the submit field with this new value:
{
  "name": "submit",
  "label": {
	"t": "forms.create"
  },
  "type": "Submit",
  "showCancel": true,
  "endpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/content/addDocument",
  "method": "post",
  "redirectUrl": "{url}"
}
  1. Publish the addon when finished.

Other addons

We update the creation form:

  1. Open the Addon you want to update.
  2. Go to Forms.
  3. Go to Creation form.
  4. In the Design tab, at the end of the JSON, replace the value of the submit field with this new value:
{
  "name": "submit",
  "label": {
	"t": "forms.create"
  },
  "type": "Submit",
  "showCancel": true,
  "endpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/content/add",
  "method": "post",
  "redirectUrl": "{url}"
}
  1. Publish the addon when finished.

Update Edition Form

We have two scenarios for updating this form.

Community addon

We update the edit form:

  1. Open the Community addon.
  2. Go to Forms.
  3. Go to Edition form.
  4. In the Design tab, at the end of the JSON, replace the value of the submit field with this new value:
{
  "name": "submit",
  "label": {
	"t": "forms.update"
  },
  "type": "Submit",
  "showCancel": true,
  "endpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/set",
  "method": "post",
  "redirectUrl": "{url}"
}
  1. Publish the addon when finished.

Other addons

  1. Open the Addon you want to update.
  2. Go to Forms.
  3. Go to Edition form.
  4. In the Design tab, at the end of the JSON, replace the value of the commandBar field with this new value:
{
  "name": "commandBar",
  "type": "CommandBar",
  "editMode": true,
  "editForm": "edit",
  "cancelForm": "display",
  "visible": "{base.isContributor}",
  "removeEndpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/content/remove?uniqueId={uniqueId}",
  "allowLanguageSelector": "{base.translation.active}",
  "additionalActionItems": [
	{
	  "key": "Translate",
	  "name": {
		"t": "common.translation"
	  },
	  "iconName": "LocaleLanguage",
	  "onClick": "@translate()",
	  "propertyName": "translate",
	  "visible": "{base.translation.active}"
	}
  ]
}
  1. In the Design tab, at the end of the JSON, replace the value of the submit field with this new value:
{
  "name": "submit",
  "label": {
	"t": "forms.update"
  },
  "type": "Submit",
  "showCancel": true,
  "endpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/content/set",
  "method": "post",
  "redirectUrl": "{url}"
}
  1. Publish the addon when finished.

Update Display Form

We have two scenarios for updating this form.

Community addon

No changes to the display form are required for this addon.

Addons for content type Document

We update the edit form:

  1. Open the Addon you want to update.
  2. Go to Forms.
  3. Go to Display form.
  4. In the Design tab, at the end of the JSON, replace the value of the commandBar field with this new value:
{
  "name": "commandBar",
  "type": "CommandBar",
  "editMode": false,
  "editForm": "edit",
  "cancelForm": "display",
  "removeEndpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/content/remove?uniqueId={uniqueId}",
  "hideContentConfiguration": {
	"endpointResponse": "@eval(!{base.isContributor})"
  },
  "endpointName": "commandBar",
  "hideEdit": {
	"endpointResponse": "@eval(!{base.isContributor})"
  },
  "hideDelete": {
	"endpointResponse": "@eval(!{base.isContributor})"
  },
  "allowLanguageSelector": {
	"endpointResponse": "{base.translation.active}"
  },
  "additionalActionItems": [
	{
	  "key": "Open",
	  "name": {
		"t": "common.open"
	  },
	  "iconName": "OpenInNewWindow",
	  "onClick": "@openUrlNewTab({base.urls.interactivePreviewUrl})"
	},
	{
	  "key": "Translate",
	  "name": {
		"t": "common.translation"
	  },
	  "iconName": "LocaleLanguage",
	  "onClick": "@translate()",
	  "propertyName": "translate",
	  "visible": {
		"endpointResponse": "{base.translation.active}"
	  }
	}
  ]
}
  1. Publish the addon when finished.

Other addons

We update the edit form:

  1. Open the Addon you want to update.
  2. Go to Forms.
  3. Go to Display form.
  4. In the Design tab, at the end of the JSON, replace the value of the commandBar field with this new value:
{
  "name": "commandBar",
  "type": "CommandBar",
  "editMode": false,
  "editForm": "edit",
  "cancelForm": "display",
  "removeEndpoint": "{@togoSettings.apiEndpoints.setup}/user/provisioning/content/remove?uniqueId={uniqueId}",
  "hideContentConfiguration": {
	"endpointResponse": "@eval(!{base.isContributor})"
  },
  "endpointName": "commandBar",
  "hideEdit": {
	"endpointResponse": "@eval(!{base.isContributor})"
  },
  "hideDelete": {
	"endpointResponse": "@eval(!{base.isContributor})"
  },
  "allowLanguageSelector": {
	"endpointResponse": "{base.translation.active}"
  },
  "additionalActionItems": [
	{
	  "key": "Open",
	  "name": {
		"t": "common.open"
	  },
	  "iconName": "OpenInNewWindow",
	  "onClick": "@openUrlNewTab({base.urls.detailUrl})"
	},
	{
	  "key": "Translate",
	  "name": {
		"t": "common.translation"
	  },
	  "iconName": "LocaleLanguage",
	  "onClick": "@translate()",
	  "propertyName": "translate",
	  "visible": {
		"endpointResponse": "{base.translation.active}"
	  }
	}
  ]
}
  1. Publish the addon when finished.
⚠️

NOTE: IF YOU HAVE ADDONS WITH ADDITIONAL CUSTOM ADDONS, MAKE THE SAME CHANGES AS NEEDED.