Quickest way to refresh custom forms?

What is the simplest workflow for working with custom forms?

I make small changes in the custom form inside the DHIS2 editor and save in one browser and then want to look at it in anothe, but the form remains the old one in data entry unless I empty the browser cache every time, so I have to log in again and also select the parameters again.

Ideally, one could just edit the file (perhaps in an external editor) and refresh the browser to see the changes while designing the form - but it would have to preserve the built-in styles (though I would wish to override them somewhat)

···


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Try incognito mode in chrome.

Lars

···

On Feb 8, 2014 2:45 PM, “Knut Staring” knutst@gmail.com wrote:

What is the simplest workflow for working with custom forms?

I make small changes in the custom form inside the DHIS2 editor and save in one browser and then want to look at it in anothe, but the form remains the old one in data entry unless I empty the browser cache every time, so I have to log in again and also select the parameters again.

Ideally, one could just edit the file (perhaps in an external editor) and refresh the browser to see the changes while designing the form - but it would have to preserve the built-in styles (though I would wish to override them somewhat)


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

I have tried that, but it still seems to cache everything…

···

On Sat, Feb 8, 2014 at 2:48 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Try incognito mode in chrome.

Lars

On Feb 8, 2014 2:45 PM, “Knut Staring” knutst@gmail.com wrote:

What is the simplest workflow for working with custom forms?

I make small changes in the custom form inside the DHIS2 editor and save in one browser and then want to look at it in anothe, but the form remains the old one in data entry unless I empty the browser cache every time, so I have to log in again and also select the parameters again.

Ideally, one could just edit the file (perhaps in an external editor) and refresh the browser to see the changes while designing the form - but it would have to preserve the built-in styles (though I would wish to override them somewhat)


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

It seems to work if I use “Save and close” in the custom form editor rather than just Save. Is that logical?

Of course I still have to reselect the parameters after refreshing the DataEntry screen (not a big deal, just wondering if it could be easily avoided).

···

On Sat, Feb 8, 2014 at 2:59 PM, Knut Staring knutst@gmail.com wrote:

I have tried that, but it still seems to cache everything…


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Sat, Feb 8, 2014 at 2:48 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Try incognito mode in chrome.

Lars

On Feb 8, 2014 2:45 PM, “Knut Staring” knutst@gmail.com wrote:

What is the simplest workflow for working with custom forms?

I make small changes in the custom form inside the DHIS2 editor and save in one browser and then want to look at it in anothe, but the form remains the old one in data entry unless I empty the browser cache every time, so I have to log in again and also select the parameters again.

Ideally, one could just edit the file (perhaps in an external editor) and refresh the browser to see the changes while designing the form - but it would have to preserve the built-in styles (though I would wish to override them somewhat)


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

We increase the version of the data set when you click save and close, which will trigger a new download for browsers/clients. The idea is that you can temporarily save when working on the form, and then bump the version when your are done and click save and close, to avoid frequent downloads for clients.

···

On Sat, Feb 8, 2014 at 4:06 PM, Knut Staring knutst@gmail.com wrote:

It seems to work if I use “Save and close” in the custom form editor rather than just Save. Is that logical?

Of course I still have to reselect the parameters after refreshing the DataEntry screen (not a big deal, just wondering if it could be easily avoided).

On Sat, Feb 8, 2014 at 2:59 PM, Knut Staring knutst@gmail.com wrote:

I have tried that, but it still seems to cache everything…


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Sat, Feb 8, 2014 at 2:48 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Try incognito mode in chrome.

Lars

On Feb 8, 2014 2:45 PM, “Knut Staring” knutst@gmail.com wrote:

What is the simplest workflow for working with custom forms?

I make small changes in the custom form inside the DHIS2 editor and save in one browser and then want to look at it in anothe, but the form remains the old one in data entry unless I empty the browser cache every time, so I have to log in again and also select the parameters again.

Ideally, one could just edit the file (perhaps in an external editor) and refresh the browser to see the changes while designing the form - but it would have to preserve the built-in styles (though I would wish to override them somewhat)


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

You can install and use the this extension for development:

I use this extension as well. You can configure it to clear a bunch of things, but make sure you don’t clear cookies, which kills your login sessions.

You could assign a keyboard shortcut to it as well, e.g. ctrl + shift + R.

···

On Sun, Feb 9, 2014 at 5:03 PM, Lars Helge Øverland larshelge@gmail.com wrote:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

You can install and use the this extension for development:

https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn