After that I thought, is something wrong in layer1 (related table). So I exported the feature layer as FGDB and reuploaded it to AGOL and created a TEST Map. Now this worked perfectly fine when I tried to download the offline area.
The next obvious step was to try and break the TEST layer. So created a new field with name of more than 31 characters. Then I tried downloading an offline area, the result was a fail with the same error.
Removed the troublesome field and I am able to download offline areas on my phone/iPAD.
A few other tests have confirmed this. It is the field length that causes the issue.
There is no limit (max 31 characters) in AGOL when you create a new field but when you try and download an offline area/replica then possibly that limit kicks in and the process fails.
Ill also add here that this problem will occur when your hosted feature service schema contains attribute field names that are reserved Sqlite words. For example, a hosted feature service can have a field named "group". If you try and download this feature service in an offline area you will get the above error as "group" is a reserved sqlite word. See _keywords.html for all words that you should never use in AGOL as field names.
The next time (maybe a day or more later) I open my After Effects file again and it cannot find some of those previously available linked assets. I go in the Finder to see that some of the assets are no longer 'available offline' (green tick icon) and have reverted to 'online only' (grey cloud icon).
I've been experiencing issues with the online/offline sync for one or two months now. For a while, for example, I would select "make available offline" from the drop down list (after right clicking on the folder), and nothing would happen. It only worked when I double clicked the little cloud icon on the folder, then it started downloading everything.
Hi Megan, here is a screenshot of what I see! I feel it has been better at the moment though, and I can use "Make available offline" menu option again, so I feel this is resolved for now? I have not updated to sonora yet though.
Tip: You can also make a file available offline by opening a Google document, spreadsheet, or presentation, and clicking File Make available offline.
Only one account for each browser profile can have offline enabled. If you want to enable multiple accounts for offline access, create them on separate browser profiles. Learn how to add a new profile, then enable offline for one account in each profile.
Although I have set the synchronization settings to store all folders offline on my MacBook, this only happens when I manually select "Make available offline" for each folder in Finder. When I save folders or files at the top level, they get uploaded and then deleted from my MacBook.
That seems to only be an all or nothing approach: in my case, I've set up a new iMac and selected a number of folders to always be available offline. They each have a green tick on the folders but also the little cloud download icon and the actual files themselves are not downloaded.
Set the value to offline if your application needs to refresh access tokens when the user is not present at the browser. This is the method of refreshing access tokens described later in this document. This value instructs the Google authorization server to return a refresh token and an access token the first time that your application exchanges an authorization code for tokens.
Google responds to this request by returning a JSON object that contains a short-lived access token and a refresh token. Note that the refresh token is only returned if your application set the access_type parameter to offline in the initial request to Google's authorization server.
Access tokens periodically expire and become invalid credentials for a related API request. You can refresh an access token without prompting the user for permission (including when the user is not present) if you requested offline access to the scopes associated with the token.
Requesting offline access is a requirement for any application that needs to access a Google API when the user is not present. For example, an app that performs backup services or executes actions at predetermined times needs to be able to refresh its access token when the user is not present. The default style of access is called online.
After a user grants offline access to the requested scopes, you can continue to use the API client to access Google APIs on the user's behalf when the user is offline. The client object will refresh the access token as needed.
In Python, set the access_type keyword argument to offline to ensure that you will be able to refresh the access token without having to re-prompt the user for permission. It is very possible that access_type will not be the only keyword argument that you set, as shown in the example below.
This tokens event only occurs in the first authorization, and you need to have set your access_type to offline when calling the generateAuthUrl method to receive the refresh token. If you have already given your app the requisiste permissions without setting the appropriate constraints for receiving a refresh token, you will need to re-authorize the application to receive a fresh refresh token.
In computer technology and telecommunications, online indicates a state of connectivity and offline indicates a disconnected state. In modern terminology, this usually refers to an Internet connection, but (especially when expressed "on line" or "on the line") could refer to any piece of equipment or functional unit that is connected to a larger system. Being online means that the equipment or subsystem is connected, or that it is ready for use.[1]
"Online" has come to describe activities performed on and data available on the Internet,[2] for example: "online identity", "online predator", "online gambling", "online game", "online shopping", "online banking", and "online learning". Similar meaning is also given by the prefixes "cyber" and "e", as in the words "cyberspace", "cybercrime", "email", and "ecommerce".[3] In contrast, "offline" can refer to either computing activities performed while disconnected from the Internet, or alternatives to Internet activities (such as shopping in brick-and-mortar stores). The term "offline" is sometimes used interchangeably with the acronym "IRL", meaning "in real life".[4]
Another example of the use of these concepts is digital audio technology. A tape recorder, digital audio editor, or other device that is online is one whose clock is under the control of the clock of a synchronization master device. When the sync master commences playback, the online device automatically synchronizes itself to the master and commences playing from the same point in the recording. A device that is offline uses no external clock reference and relies upon its own internal clock. When many devices are connected to a sync master it is often convenient, if one wants to hear just the output of one single device, to take it offline because, if the device is played back online, all synchronized devices have to locate the playback point and wait for each other device to be in synchronization.[10] (For related discussion, see MIDI timecode, Word clock, and recording system synchronization.)
A third example of a common use of these concepts is a web browser that can be instructed to be in either online or offline states. The browser attempts to fetch pages from servers while only in the online state. In the offline state, or "offline mode", users can perform offline browsing, where pages can be browsed using local copies of those pages that have previously been downloaded while in the online state. This can be useful when the computer is offline and connection to the Internet is impossible or undesirable. The pages are downloaded either implicitly into the web browser's own cache as a result of prior online browsing by the user or explicitly by a browser configured to keep local copies of certain web pages, which are updated when the browser is in the online state, either by checking that the local copies are up-to-date at regular intervals or by checking that the local copies are up-to-date whenever the browser is switched to the online. One such web browser is Internet Explorer. When pages are added to the Favourites list, they can be marked to be "available for offline browsing". Internet Explorer will download local copies of both the marked page and, optionally, all of the pages that it links to. In Internet Explorer version 6, the level of direct and indirect links, the maximum amount of local disc space allowed to be consumed, and the schedule on which local copies are checked to see whether they are up-to-date, are configurable for each individual Favourites entry.[11][12][13][14]
dd2b598166