Software Archive
Read-only legacy content
17061 ディスカッション

Linking Issue found with App designer - Ionic framework

David_G_4
初心者
775件の閲覧回数

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 件の賞賛
4 返答(返信)
Chris_P_Intel
従業員
775件の閲覧回数

Thanks,

We'll look into it and get it fixed. 

Amrita_C_Intel
従業員
775件の閲覧回数

Can you tell us which XDK version your using?

David_G_4
初心者
775件の閲覧回数

v. 1995

Amrita_C_Intel
従業員
775件の閲覧回数

Thanks!

返信