Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
Visit this demo page:
Log Spreadsheet Downloads
https://haversineconsulting.quickbase.com/db/bnius2h9z
You now have a Service Worker registered. I authored the page and you have no choice in the matter. Service Workers are considered to be part of the authored page and they are constructed to perform a helpful task when users interact with my page - namely to log spreadsheet downloads. Unlike for example geo-location - which gives up user information and requires permission to be granted - Service Workers do not require permissions as they don't in themselves deal with user information.
Now visit any of these reports and proceed to download as a Spreadsheet:
List All
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=1
List Changes
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=2
By Factor
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=5
By Environment
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=6
You will get the report downloaded as normal. However, if you visit the Logs table you will now see you have create a log entry reflecting your selected report.
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=646
Notes:
(1) This demo was developed very rapidly while watching the local news. There are some things I would do slightly differently for a production application but at this point it is probably most important to understand what Service Workers can do. These suckers are extremely powerful and they are rightly called god mode for QuickBase.
Log Spreadsheet Downloads
https://haversineconsulting.quickbase.com/db/bnius2h9z
You now have a Service Worker registered. I authored the page and you have no choice in the matter. Service Workers are considered to be part of the authored page and they are constructed to perform a helpful task when users interact with my page - namely to log spreadsheet downloads. Unlike for example geo-location - which gives up user information and requires permission to be granted - Service Workers do not require permissions as they don't in themselves deal with user information.
Now visit any of these reports and proceed to download as a Spreadsheet:
List All
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=1
List Changes
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=2
By Factor
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=5
By Environment
https://haversineconsulting.quickbase.com/db/bnius2ia3?a=q&qid=6
You will get the report downloaded as normal. However, if you visit the Logs table you will now see you have create a log entry reflecting your selected report.
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=646
Notes:
(1) This demo was developed very rapidly while watching the local news. There are some things I would do slightly differently for a production application but at this point it is probably most important to understand what Service Workers can do. These suckers are extremely powerful and they are rightly called god mode for QuickBase.