- This topic has 7 replies, 3 voices, and was last updated 11 years, 5 months ago by support-octavio.
-
AuthorPosts
-
m12m345mMemberi’ve create multiple _custom.js files for showmarker_custom.js, dynlist_demo_custom.js, etc so i have 5 separate ones. how do I do i combine them to get them to work when i run my app. i tried to move them to the folder that is created when you test it in the center, the xxxx-www folder, then open the, in my case, the index page and add the tags <script type=”text/javascript” src=”xxxx_custom.js”></script> for each one in the header with the other one, but only one will work at a time.
Am i doing something wrong, how do i get multiple _custom.js to work?
thanks
BrandonMemberYou can include any addition JS files using the Additional Javascript area in the main screens properties.
m12m345mMemberok, so i click on my main screen, go to the right click on javascript librairies and click on add correct? if so i’m still not having success.
BrandonMemberYes that should be all you need to do. Im not sure if it matters but I always add them to the main page, even if they are used on a different one.
Are they not getting added? or returning errors? what seems to not be working with it…
m12m345mMemberso i attached the 2 of the files. so if i add both of them its like one overwrites the other. so either the map displays or either the list displays. no errors, they are not rendering. if i only use 1 then it renders correctly, if i try to use both, only 1 renders.
so i put the list by itself and it worked fine, i added the map, and only that rendered the list just showed the XXXXXX> placeholder.
Attachments:
You must be logged in to view attached files.
m12m345mMemberCincy and ideas of what i’m doing wrong?
m12m345mMemberdoes this work for anyone else?
if yes can you share what you did or even the files, so i can try to recreate.thanks
support-octavioMemberHi,
I suspect that something is wrong with the organization of your files.
Q: What is the main screen? Does it contain custom js code?
Does it contain links to the secondary screens? If no, please try to add one of your secondary screens as Additional Project File. Do this just for one screen, if it works, you can do it for all your screens.But, it would be better if you put all your custom javascript code in only one _custom.js file, it will be easy to debug code when you need to do it.
-
AuthorPosts