i have issue when our joget 6 project import to joget 8 , the issue is in javascript didn't work at joget 8

Confluence User - 03 Jul, 2024

i have project in joget 6 and want to import to joget 8 . but after import i have issue because our javascript in joget 8 can't work but somehow in joget 8 can use jquery and in joget 6 can't use jquery. so how i can check or fix this ?

jogetv6;jogetdx8;javascript;importing

1


04 Jul, 2024
confluenceUser
confluenceUser

Hi,

There might be some features added and enhanced in DX8 that caused the issue.
What you can try on your end are : 

Check for Deprecated Functions

Identify any JavaScript functions used in your Joget v6 application that may be deprecated or replaced in Joget DX8. Joget DX8 might have introduced new methods or changed the way certain functions work.

Update JavaScript Libraries

Ensure that any external JavaScript libraries you are using are compatible with Joget DX8. Update these libraries to their latest versions if necessary.

Modify JavaScript Code

Adjust your JavaScript code to align with the new APIs and features in Joget DX8. Here are some common changes you might need to make:

  • AJAX Calls: Ensure your AJAX calls are using the correct endpoints and parameters for Joget DX8.
  • Form and UI Customizations: Check if the HTML structure or CSS classes have changed in Joget DX8 and update your JavaScript code accordingly.
  • Event Handlers: Verify that event handlers (e.g., onload, onclick) are still correctly referenced and functioning.

You can also have a read on this KB : Updating to DX 8 AJAX Themes.
it has the potential fixes if your JS scripts are not working as expected after upgrading from older joget version to Joget DX8.

Cheers!



RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print