You can attach content to an offline-enabled application also while not connected to the network. Specifically, while working in offline mode, you can attach a file from the photo gallery or a folder on the device. URL attachments can only be created in the desktop application and are just shown in offline mode.
After a file is attached in offline mode, it is added to the sync queue and is included in the attachment list that is displayed in the application. While you are working in offline mode, you can view or delete any attachment on the attachment list before the application is synchronized with the server. After the application is connected to the network, all the attachments that were added to the queue while in offline mode are automatically synchronized with the Pega Platform server. After the application synchronizes with the server, you can only view or delete such attachments if you are connected to the network.