dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28020
Re: Quickest way to refresh custom forms?
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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
>
>> I have tried that, but it still seems to cache everything...
>>
>>
>> On Sat, Feb 8, 2014 at 2:48 PM, Lars Helge Øverland <larshelge@xxxxxxxxx>wrote:
>>
>>> Try incognito mode in chrome.
>>>
>>> Lars
>>> On Feb 8, 2014 2:45 PM, "Knut Staring" <knutst@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
>>>> 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
>>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>
Follow ups
References