-
Notifications
You must be signed in to change notification settings - Fork 40
Customizations
The customized installation makes the assumption you wish to change the default variables (site name, list names, labels, buttons text, logo etc.) with the TEOC Solution Template. Customizing the installation takes it outside of configurations we have tested against but allows you to modify any aspect of the template.
Please note that if you customize the solution according to your organization needs, there are chances that you might face challenges while upgrading to new versions with the future releases.
- Install Visual Studio Code
- Clone the app repository locally.
Below are the high level steps to get you started on a customizing the template.
Site Name Customization is not applicable for TEOC v1.0 or higher.
Note: Please ensure to update Site Name before provisioning.
-
Open the
Deployment/provisioning
folder to get the latest provisioning files i.e.EOC-Provision.ps1
andEOC-SiteTemplate.xml
-
Open
EOC-Provision.ps1
-
Update EOCSiteURL value to new value. (Ex:
$EOCSiteURL = "/sites/NewSiteName"
) -
Update Title property with new site name. (Ex:
New-PnPSite -Type TeamSiteWithoutMicrosoft365Group -Title NewSiteName -Url $TenantURL$EOCSiteURL -Owner $AdminEmail
)
-
-
Open
EOC-TeamFx/tabs/src/config
folder in visual studio code. -
Open
siteConfig.json
file and updatesiteName
with new site name.
-
Open
EOC-TeamFx/tabs/src/locale
folder. -
Open the component that you would like to modify and locate the constant name that you wish to modify.
-
Open
LocaleStrings.ts
and update the constant value to the new value.Ex: If you wish to update
Commander Name
label toCommander
, open theLocaleStrings.ts
findfieldIncidentCommander
and update its value.
Note: Please ensure to update List Names before provisioning site.
-
Open the
Deployment/provisioning
folder to get the latest provisioning files i.eEOC-Provision.ps1
andEOC-SiteTemplate.xml
-
Open
EOC-SiteTemplate.xml
file. -
Seach for
<pnp:ListInstance
and update the Title and URL property for specific list. -
Save the
EOC-SiteTemplate.xml
file and start provisioning site. -
Open
EOC-TeamsFx/tabs/src/config
folder. -
Open
siteConfig.json
file and update the list name
Note: Please ensure to update List Values / Master values once provisioning is completed. If you want to update master data at later stage, if the value is already used while creating any incident and you are planning to update/delete that value then it might break existing records.
-
Navigate to TEOC site in your tenant.
-
Navigate to Site Contents.
-
Below are master lists
- TEOC-IncidentStatus
- TEOC-IncidentType
- TEOC-RoleAssignments
-
Open Master List and click new to create new entry.
-
Once New entry is added in Master, it will be reflected in Create New Incident / Update Incident form.
Note: Please ensure to keep same name for new logo images as the existing one.
- Open the
Deployment/appPackage/resources
folder. - Update
outline.png
&color.png
with new logo images. - Open
EOC-TeamsFx/templates/appPackage/resources
folder. - Update
outline.png
&color.png
with new logo images. - For logo specifications refer this link.