---
title: "LiveFields setup."
canonical: "https://support.appfire.com/space/DLP/297931817/LiveFields%20setup."
format: markdown
---
> ℹ️ ### Config summary
> ℹ️ 
> ℹ️ Here's what you will have after completing this guideline:
> ℹ️ 
> ℹ️ - LiveFields scripts ready;
> ℹ️ - A new LiveFields config added.

> ℹ️ ### Required permissions
> ℹ️ 
> ℹ️ Requires either *Jira System Administrators* or *Jira Administrators* global permission. If you don't have such privileges, ask your Jira administrator for help.

> ℹ️ LiveFields is a feature in Power Scripts that adds a lot of extra safe-guards ensuring that the users use the functionality as it was intended to be used. We'll use it specifically to modify the default project Jira Issue Create and Edit/View screens so that they are kept as simple as possible so as to not over complicate and ensure users would enter the correct fields when submitting their absences.


1. Go to Jira administration > Manage apps > SIL Manager.
2. Follow steps 2-6 from under the 'Creating file tree' section from 'Scripts setup' page of this user manual.
  
  
3. The following folder tree along with some empty script files should be created after executing the above-mentioned.
  
4. Use the right click and the 'Delete' option to remove the 'createFiles.sil' script as it is no longer needed. Click 'OK' when prompted to confirm the action.

## Configuring LiveFields scripts and functionality

Start with configuring LiveFields scripts in Jira administration > Manage apps > SIL Manager.

> ℹ️ <span style="color: #172b4d">Each script can be opened e.g. in </span><span style="color: #172b4d">*TextEdit*</span><span style="color: #172b4d"> (for Mac) or any other text editor.</span>

### hideComment.js ([download file](/wiki/download/attachments/296848000/hideComment.js?version=1&modificationDate=1683036514861&cacheVersion=1&api=v2))

1. <span style="color: #172b4d">Once opened in a text editor, copy the script text and paste it into the corresponding file from under the 'LiveFields' folder in the SIL Manager. Click the disc icon to save changes.</span>  
> Macro (inline-media-image)

  
<span style="color: #172b4d">You should be presented with a green 'Save done' text afterwards.</span>

### <span style="color: #172b4d">main.sil (</span><span style="color: #172b4d">[download file](/wiki/download/attachments/296848000/main.sil.txt?version=1&modificationDate=1683036514948&cacheVersion=1&api=v2)</span><span style="color: #172b4d">)</span>

1. <span style="color: #172b4d">Once opened in a text editor, copy the script text and paste it into the corresponding file from under the 'LiveFields' folder in the SIL Manager. Click on a green button to run the code.</span>
  You should see the following confirmation afterwards.
2. <span style="color: #172b4d">Make sure to save the changes.</span>
  <span style="color: #4d5156">You should be presented with a green 'Save done' text afterwards.</span>

### watch.sil ([download file](/wiki/download/attachments/296848000/watch.sil?version=1&modificationDate=1683036515052&cacheVersion=1&api=v2))

1. <span style="color: #172b4d">Once opened in a text editor, copy the script text and paste it into the corresponding file from under the 'LiveFields' folder in the SIL Manager. Click on a green button to run the code.</span>
  You should see the following confirmation afterwards.
2. <span style="color: #172b4d">Make sure to save the changes.</span>
  <span style="color: #4d5156">You should be presented with a green 'Save done' text afterwards.</span>

<span style="color: #172b4d">Once all the LiveFields scripts are run and saved, it is time to configure the functionality itself which comes down to adding the </span><span style="color: #172b4d">*main.sil*</span><span style="color: #172b4d"> script to a LiveFields configuration. </span>

<span style="color: #172b4d">Go to Jira administration > Manage apps > Power Apps Config > Power Scripts > Live Fields and click the 'Add new...' button.</span>

![106.png](media://581c2c2d-e633-4b6f-8985-7988795a34d4)

<span style="color: #172b4d">Fill all the required fields and choose the "Absences" project on which this LiveFields functionality will apply. For the script field, click on the pencil icon and choose the </span><span style="color: #172b4d">*main.sil*</span><span style="color: #172b4d"> script. Finally, click 'Select'.</span>

![107.png](media://c68b196a-34bf-4881-8bdf-db0af69b68ae)

![108.png](media://247ba120-f446-4fb9-a3cf-33679280525b)

<span style="color: #172b4d">Click 'Add' to finish the process. </span>

![109.png](media://ce36472b-3baf-4658-b75e-884bb6659a46)

<span style="color: #172b4d">You should end up with your LiveFields configuration looking like this. </span>

![110.png](media://90e220b3-b2c4-46b2-ae8f-dd96c319308a)