Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleApplication shows blank page after log-in

Check the following:

  • Any errors in the browser console.
  • Any network call failing
  • Check if users' entitlements have changed
  • Any errors in the CT server logs. If so, share it to CT Support team via Jira.


Expand
titleHow to add new language in the end application?

Refer Adding a New Language in your Application - from Canvas 18.1 onwards.


Data Rendering or Data Submission Submission

Expand
titleGrid widget has date column configured in Studio, but it is not rendering in end application

Check for the following error pattern in the log file:

Code Block
linenumberstrue
[com.intellectdesign.canvas.data.conversion.util.JSONToHashMapConverter][ERROR]
			 {[CTBAS00014]:The String is either not in proper date format or is not a date: Format: dd/mm/yyyy , Value:  31-12-2030

Solution: If such date format mismatch occurs, then change the value of the date field to the user-preferred format.

...

Expand
titleCouldn't get data from Web Service for an app

Check for the following pattern in the error logs:

Code Block
linenumberstrue
[com.intellectdesign.canvas.connectors.camel.DefaultRoute][ERROR]
			 {[CTVDF00933]:Caught Exception while making a web service call {}}

Solution: Check the stack trace to find the details of the web service that did not return the success response.


Expand
titleHow to create a custom publisher for Request Modeler?

Refer Custom Publisher.


Expand
titleHow to update functional data saved through Request Modeler instead of inserting new or deleting data?

Refer Additional Ready-made Activities supported by Request Modeler.


Encryption

Expand
titleHow to enable encryption of business data, request and response between client and server in the application built using Canvas?

You can enable encryption for the application built using Canvas by setting the 'ENCRYPT_SERVER_CALLS' property to 'Y' in the 'systempreferences.properties' file.

Note

When you enable encryption, Canvas will encrypt all requests coming to your application including log out.

A sample 'systempreferences.properties' file is available in CTModelHouseResource.jar in the Model House application that comes as part of the Canvas platform package.

Note that you must stop and start your application server to enable this feature. After the application server is restarted, access the widgets in the application and check the Network tab in the browser console to verify the encryption.

...

Expand
titleSample code for form data submission to a web service.

Refer Posting Data using the POST Method.


Expand
titleHow to map request model ID to an existing form designed in Studio?

Refer Configuring Request Modeler Actions for Self-Designed Forms.


Expand
titleHow to configure event wiring for form items?

Refer Form Items Event Wiring.


Database

Expand
titleHow to get information from stored procedures or functions with parameters, such as log-in user ID, language, in datasource?

Data can be fetched using Instruction classes (Java class) in Canvas. Canvas uses iBatis library for database access. Callable statements can be used to access Stored Procedures and Functions to get the data.


Login ID, Language etc. will be passed as parameters by Canvas which can be used to filter data accordingly.

...