---
title: "Temp"
canonical: "https://support.appfire.com/space/RDD/1551728663/Temp"
format: markdown
---
> Macro (toc)

![image](media://00dcfbda-49f3-450f-a543-328986f9a4f3)

![image](media://7d4b2c5f-0c09-475d-9e6e-557803a9cdbd)

## Save and Publish Your Report

1. Use the live **Preview** panel to review the final output on your dashboard.
2. Click **Save**.

## Troubleshooting Common Issues

1. Error: Cannot Connect to Datasource:
  - Double-check the API URL and ensure it uses HTTPS.
  - Verify your authentication credentials and token expiration.
2. Visualization Problems:
  - Ensure all required fields are correctly mapped in the visualization editor.
3. Use the **Debug Mode** (toggle in the editor toolbar) to inspect data and ensure the JSON structure matches the visualization requirements.

## Required Knowledge

To work effectively with Custom Reports, you should be familiar with:

- **JSON**: For editing and amending to JSON documents.
- **CSS**: To style custom components and reports.
- **REGEX**: To parse REST-API data source.

## What’s next?

> Macro (children)


## Datasource Viewing Modes

**Datasource Viewing Modes** give users greater flexibility in how data is displayed in gadgets. This feature allows you to control whether data is displayed based on **user credentials **(:credentials: Credentials mode)**, viewer permissions **(:viewer: Viewer** **mode)**, or dashboard owner access **(:owner: Owner mode)**.**

:credentials: **Credentials**

The gadget always uses the credentials (e.g., password or token) configured by the user who created this datasource to load and display data. These credentials are independent of the viewer or owner permissions. 

Datasources generated with the creator’s authentication (password or token) won’t have the ability to display the data with other credentials, regardless of who is viewing the dashboard.

![credentials.png](media://4bf5d753-7b61-4c3b-b99e-cf653af91929)

:viewer: **Viewer**

The gadget displays data according to the permissions of the person viewing the dashboard. Users without access to certain fields/projects **will not see restricted data**.

![viewer.png](media://68c66051-aa5d-483f-b2aa-f1ef6e69baff)

> 📝 Datasources created using Connector apps to connect with remote instances (read more about [https://appfire.atlassian.net/wiki/spaces/RDD/pages/146309882](https://appfire.atlassian.net/wiki/spaces/RDD/pages/146309882)) or local instances using the default datasources “My Jira instance” or “My Confluence instance” will have the ability to choose between :viewer: Viewer** **mode** **or** **:owner: Owner mode**.**

:owner: **Owner**

The gadget uses the dashboard owner’s permissions to load data, ensuring a consistent view for all users viewing the dashboard.

![owner.png](media://3ed7e646-34fb-436a-8a3c-fb535b7b1d48)

| **Datasource** | **How the data can be displayed** |
| --- | --- |
| My Jira instance (local Cloud or Data Center instance)<br>or<br>My Confluence instance (local Cloud or Data Center instance) | :viewer: Viewer OR :owner: Owner |
| Connector app (remote Cloud instance)<br>![connector.png](media://6df18e7a-eefb-4371-be9c-70efffa2b82b) | :viewer: Viewer OR :owner: Owner |
| API Token (Cloud instance)<br>![cloud_api_token.png](media://c40e39fb-3b1c-41bc-9fc9-bcc047b95525) | :credentials: Credentials |
| User name and password (Data Center instance)<br>![user_password.png](media://5943e9c1-1e1a-4af4-8097-fbfd7d55c187) | :credentials: Credentials |
| Personal Access API Token (Data Center instance)<br>![PAT.png](media://d6c3862b-f97f-4e5e-962c-e3240037bb4c) | :credentials: Credentials |