Posts by John Clarke

Show threads by John Clarke
151 posts found, page 4 of 11

John Clarke (In thread: App Path in the File Manager)

That solves my file organisation issue. However I am now getting the following error when I load the plugin for a file that has got IsContent set to true


John Clarke (In thread: App Path in the File Manager)
Basically I want to restructure the compiled folder so that I have :

app/scripts/models
app/script/views
app/script/controllers

So I am just trying to set that up in App Builder


John Clarke (In thread: App Path in the File Manager)
Currently we can specify the path or URL to a source file. It would be nice if we could override the value placed in the app path so that we can organise our files better in the compiled folder.

John Clarke (In thread: Browser Plugin - when a user navigates to another page)
Here is my code

On WebExtBackground

and in WebExtContent


John Clarke (In thread: Browser Plugin - when a user navigates to another page)
Solved! Thanks again for all of your support!

John Clarke (In thread: Browser Plugin - when a user navigates to another page)
Sorry to be a nuisance but how can communicate from the content to the app, so the app read the local storage and send you back the option's value ?

John Clarke (In thread: Browser Plugin - when a user navigates to another page)
I have a variable in the browsers localstorage called "automationcoderecord". How can I access this from the WebExtContext ?

John Clarke (In thread: Browser Plugin - when a user navigates to another page)
I am creating a browser plugin that highlights items on a page when it finds keywords. However, when the user clicks a hyperlink the code seems to stop working. How can I get the code to continue working when the user has navigated to another URL ?

John Clarke (In thread: Dynamically creating objects and adding events to it)
AppBuilder has a number of visual and non-visual components. I am interested in dynamically creating these components in my code and adding event handlers to them. For example, how can I dynamically create an instance of the HTTP component in my code and add events for done and fail to it?

John Clarke (In thread: Reading and Processing XML Files)
Just one more question. When I specify for my browser plugin what do I need to use as the path to enable my code to read the XML File ?

John Clarke (In thread: Problem with External JS Files)
I have created 2 external JS Files. The first is called BaseClass.js and is a base class used to implement an inheritance mechanism. The second is called Config.js. Both of these have been added to the File Manager and have had their IsContent flag set to true.

Config.JS contains the following code

If I add the following line to WebExtContent it displays the message on the Console

However, if I add the following code to the Show Event of the view nothing happens.

So my question is how can I get this same external JS file to work in both the WebExtContent and in the event on the view ?

Thanks in advance

John Clarke (In thread: Reading and Processing XML Files)
Thanks again David. I have something that is rather puzzling. I use the following code

The message for the error comes up and the error message contains "readyState":4,"responseText":" along with all of the text for the file it was meant to read. Suggesting that it had indeed read it.


John Clarke (In thread: Reading and Processing XML Files)
Thanks David,

I was looking at the sample called "CordovaFile". It has the following code

Unfortunately this doesn't seem to work


John Clarke (In thread: Reading and Processing XML Files)
I have some questions :

1. I am looking for a demo in the App Builder Samples that shows me how to read and process a local XML File. Does one exist ? If not where can I see an example ?
2. Will I have to include my file on the Others tab of the File Manager?

Thanks in advance


John Clarke (In thread: Web Browser embedded in my application)
Thanks...I will definitely check out those sample applications.

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.