Software Archive
Read-only legacy content
17061 Discussions

Linking Issue found with App designer - Ionic framework

David_G_4
Novice
452 Views

If you start a Ionic project and drag a modal, actionsheet, popup or any other ionic specific widget, Intel XDK adds a controller javascript file to the project.

This is fine, however it names them incorrectly.  When it makes the javascript file it names it "index_uib_w_1_modal.js" and adds a function called index_uib_w_1_modal_controller inside the file.  It also adds it to the included script list using the same name.

Then when you add a button to open the modal and link it using the "interactivity section" it references "uib_w_1_modal_controller" and will not work.  It leaves off the "index_" part.

Also inside app designer when you click on the modal widget we added, under properties it says "edit file".  clicking on this causes an error because it is looking for "uib_w_1_modal.js"

removing "index_" from the js file and function name fixes this issue.

Maybe the next update to Intel XDK could fix this linking issue.

All the best.

0 Kudos
4 Replies
Chris_P_Intel
Employee
452 Views

Thanks,

We'll look into it and get it fixed. 

0 Kudos
Amrita_C_Intel
Employee
452 Views

Can you tell us which XDK version your using?

0 Kudos
David_G_4
Novice
452 Views

v. 1995

0 Kudos
Amrita_C_Intel
Employee
452 Views

Thanks!

0 Kudos
Reply