I have a VFP with a few forms that will pull various reports. I want to be able to pull a report and persist the data so when the user logs out of Salesforce, the data will still be there tomorrow. I want the user to not be able to pull the report again.
The one catch is that I am pulling in data from an outside service. How would I go about saving this data to Salesforce? Currently every refresh of the page or log out, the data is cleared and we have to pull the report again.
I have read up on
upsert and saving the data to a variable but I do not see how this would hinder the refreshing of the data. I have thought about
static resources but there really isn't any resource being downloaded. It is just a link that is being sent over from the outside server. I have thought about
caching and cookies but this is not as safe because someone could clear their cookies or cache.