Note
Define the correct Data type of each field. This step is necessary to avoid any inconsistencies.
The interactive feature-set allows the desinger of the app
Forms allow you to utilize a simple UI for data entry to your blockchain ledger. It makes using a blockchain ledger even simpler by not having to worry about the structure of data.
When your app is deployed, sample forms will be created for you to use, but you are not limited to just these sample forms. You can create as many forms you need for your app.
You can export a created form to be used either later or on another app. To import a form, simply click on Import and upload your exported forms file.
You can utilize the inbuilt form editor to create or edit a form according to your needs.
Note: When creating forms for custom smart contracts, provide arguments in the same order as required in the custom smart contract. The order of arguments for Xooa managed smart contracts is already defined.
You can use the forms to gather data outside the platform.
Note: If the Identity form element is used in the form, the form cannot be embedded or used for anonymous form submissions.
Using Pages you configure the interface and navigation that will be shown to the app users. You may create multiple pages for app users, and you may show certain pages to only certain users using Roles. You must create at least one form before you can add a page. To test or preview created Pages, create a role having access to the desired page, then invite yourself as an app user, then switch to runtime console (left sidebar).
Workflows allows you to design and execute the flow of data in an application. A set of actions can be configured based on multiple conditions. These actions will get triggered as the workflow progresses and conditions are passed.
To create a workflow:
Monitoring: You can view the complete audit log of a workflow. You can filter based on Record Id or sort based on timestamp.
You can also trace the activity from the monitoring logs.
Visualize your data in the form of charts or tables. Adjust the metrics according to your requirements and personalize your dashboard for each app. You can also export the customized data in the form of CSV.
You can view all your charts and tables under this tab.
Click Add Element to add another chart or table to the dashboard. For each new element, you can define the settings to fetch data and populate the dashboard element.
You can configure the following settings for each dashboard element:
Fields defined in the Manage Schema tab can be used here. Several pre-defined transactions and state-related fields are available by default.
Fields are the dimensions that you can add and use in your dashboard elements.
Measures defined in the Manage Schema tab can be used here. Transaction Count is available by default.
Measures are the aggregations that you can define and use in your dashboard elements. The aggregation can be defined on the fields and existing measures.
Transactions Created and State Created time along with any field defined with data type as timestamp can be used as a dimension of time.
You can filter the items based on Fields, Measures and Time. This will allow you to limit the data points on which the dashboard element will be created.
You can select the chart type for your dashboard element. Your available options include Line, Area, Bar, Pie, Table, or Number as a chart type for your dashboard element.
Fields are the dimensions that you can add and use in your dashboard elements. You can either add from the suggested fields or as a custom field. The suggested fields are based on the last 25 transactions on the app and forms.
{{}}
. PostgreSQL syntax can be used in Field. eg. EXTRACT(month FROM age(TO_TIMESTAMP({{loanApprovedDate}},’YYYY-MM-DD’),TO_TIMESTAMP({{xldb_createdDTM}},’YYYY-MM-DD’)))
Define the correct Data type of each field. This step is necessary to avoid any inconsistencies.
Measures are the aggregations that you can define and use in your dashboard elements. The aggregations can be defined on the fields and existing measures. Several types of aggregations are available viz. Average, Sum, Number, Count, Count Distinct, Count distinct approx, Min, Max and Running total.
App roles can be defined for different entities using the app. You can provide access to select dashboards and pages for an app role. The app user will have access only for the pages and dashboards selected in the app role.
You can invite other users to your app. It also allows you to provide access based on roles for the app user. This is best suited for apps involving multiple entities using the app in the workflow. The shared user will have read access to the data accessible based on roles; however, they can only make changes if the appropriate form has also been shared with them. The app user will be able to access the shared app in the runtime console
This allows you to customize the user interface of your application for the app users.
World State provides:
The Transactions tab allows you to browse activity in the ledger. You can:
The key used to save the data in the ledger.
The value saved in the ledger.
Denotes if the transaction was to delete the value from the ledger.
The time at which the transaction was made.
A unique transaction ID of the current transaction.
Endpoint for calling functions in the smart contract.
URL for testing API endpoints. You can also test smart contract function calls.
Test the API endpoints for the custom smart contract upon authorizing use for the identity API token.
The history of API calls that have been made to the app filtered by the date range specified.
The time at which the API call was made.
Request method for the API call.
The endpoint called.
The time taken to get the response for the API call.
The response code received by the user for the API call.
The IP address from where the API call was generated.
The Identity used to make the API call.
An identity is someone with an API token and a given set of permissions to access the APIs for the app. From the Identities tab, you can perform actions such as:
A unique identifier of the identity. This is not the API token of the identity.
A descriptive name for the identity. Notice that the name does not need to be unique.
Determines if an identity with the API token can only read the ledger or also write to it.
Determines if the API token for this identity authorizes them to create other identities. Typically, such an identity represents an administrator.
An identity authorized to manage other identities can always create identities with write access to the ledger.
Local date and time for when a token was last generated for the identity.
Perform actions on the identity such as:
View smart contract logs from the last 10 minutes. What events are logged depends on how you have coded your smart contract. Click here for details on Hyperledger Fabric’s logging. The logs are available only for custom smart contracts which are deployed on Hyperledger Fabric.
Get all the details about your app including the name, description, and ledger details.
Provides a history of activities related to the app. Activities include information about redeploying the app, app-specific actions, identity-related actions, and upgrades.
Delete your app from Xooa, manage the endorsement policy, or update your app from your GitHub repository or local directory.
Refresh the app with the smart contract code currently in the GitHub repository used for creating this app or in your local directory. Upgrading an app is available only for custom smart contracts deployed on Hyperledger Fabric.
Deleting the app will remove the end points and the smart contract from Xooa. This operation is irreversible and you will never be able to access the app data again on Xooa. If you need to download the data, use an External Peer. External Peers are not affected by this operation.
(Only for Hyperledger Fabric apps)
Available only for apps deployed on Hyperledger Fabric. Defining a custom endorsement policy will allow External Peers to endorse transactions for the app.
Add an organization taking part in the endorsement under the same AND/OR expression.
Add a different condition for endorsement.
AND
expression will allow the transaction to be committed only when endorsing peers from all the added organizations endorse the transaction.
OR
expression will allow the transaction to be committed when endorsing peers from any of the added organizations endorse the transaction.
Applying the endorsement policy will upgrade the app. The new policy will take effect immediately.