Posts by DecSoft

Show threads by DecSoft
3352 posts found, page 40 of 224

DecSoft (In thread: Dynamically set and update div elements)

Hello Jhonson,

I am not completely sure if can understand well, but, are you take a look at the "Html" sample app? Please, take a look at that sample app: I think that can give you some good ideas. Take also a look at the "Timer" sample app. On the other hand, don't hesitate to post here if you have any further questions.


DecSoft (In thread: New HTML Compiler 2021.16)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Problem with External JS Files)

Hello John,

The point is that the app views and the WebExtensions content and background scripts works in different leagues: you already know that we can communicate both leagues, but, we can't share certain stuff like you wanted here in this post. I think we have at least three possible solutions or workarounds that we can do:

1º Duplicate the "Config.js" file, named one "AppConfig.js" and other "WebExtConfig.js", and use the app's Files Manager to properly add these scripts for the app and for the WebExtension.

2º Copy the contents of the "Config.js" file and place it in a script which are used by the app and by the WebExtension: maybe you can directly copy the contents of the "Config.js" file in the app's Mounted event and some of the WebExtension event... or just leave a file for the WebExtension.

3º Use a web served "Config.js" file, which you can add by his URL using the app's Files Manager, maybe with some different "query", since in other case, that is, using the same URL, probably we can't use it for both the app's views and the WebExtension.

In any case we are not sharing the file, due to the fact that I refer in the first paragraph of this post: we are talking about different contexts that cannot share stuff in this manner. So I think you can chooose one of the above possible approachs. Why I will do? Since apparently what the "Config.js" file establish certain Javascript object to be extended, I think that duplicate the "Config.js" can be enough, in order to provided that base object in both the app's views and the WebExtension contexts.


DecSoft (In thread: New HTML Compiler 2021.15)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New App Builder 2021.10)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New App Builder 2021.9)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New HTML Compiler 2021.14)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Reading and Processing XML Files)

Hello John,

Try to run the app and then press F12 in order to show the Developer Console: probably you can see it more information about the error. For example, if the XML is not well formed, the "fail" function is executed. So take a look at the Developer Console and see what can be happen exactly.

On the other hand, if you are responsible for the XML, maybe you can change it to a JSON file, because it's more easy to deal with a JSON file in Javascript, since the JSON source is a Javascript object variable ready to be used. If you need to use a XML, there is no problem: I suggest this because your file is a named "Config.xml"... so maybe you can prepare a JSON file for a configuration purpose.

You can take a look at the GetJson sample app to see how easy is to load an access to a JSON source / object.


DecSoft (In thread: Reading and Processing XML Files)

Hello John,

The sample app that you refers must be compiled with Apache Cordova in order to properly works. But we no need Cordova in order to read a file previlusly added into the app Files Manager. Supose we add a "source.xml" file in the "Others" tab of the app Files manager. Then we can use an HTTP control in order to read it, but, also a "simply" jQuery.get() like below:

So, suposing we have a feed XML inside "source.xml", we can use jQuery in order to parse that XML source:


DecSoft (In thread: Reading and Processing XML Files)

Hello John,

You can take a look at the FeedReader sample app. Can also take a look at the jQuery.parseXML() documentation. Note that we don't use this last one in the referred sample, we use other way, but, also using jQuery, which, as you know, it's available by default for our apps. Maybe this can be enough for your requirements.

Talking about the source of the XML, certainly, can be a file added by the "Others" tab in the Files manager, or may can proceed from internet, like you can see in the FeedReader sample app. In both cases you can use jQuery.get() or an HTTP client control in order to load the XML source.


DecSoft (In thread: New HTML Compiler 2021.13)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New App Builder 2021.8)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New HTML Compiler 2021.12)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New App Builder 2021.7)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New HTML Compiler 2021.11)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history

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 cookies only to store your preferences.

Ok! Hide this note More information