![]() Here is an example single-file app (with just app.R) with URL-encoded bookmarking enabled. The next few examples here show how to enable URL-encoded bookmarking with different file configurations. Or, if you’re calling shinyApp(), use the enableBookmarking argument. There must be a call to enableBookmarking().The UI portion of an application must be a function that takes one argument.Using bookmarkable stateįor most Shiny apps, there are two changes that must be made to enable bookmarking: URL-encoded bookmarking currently works in all of these hosting environments. Posit Connect added support in version 1.4.6. As of version 1.4.7, Shiny Server Open Source and Shiny Server Pro support saving state to disk. Some browsers have a limit of about 2,000 characters for the length of a URL, so if the bookmark URL is longer than that, it will not work properly in those browsers.įor saving state to the server, the hosting environment must support bookmarkable state. With an encoded state, the URL could become very long if there are many values.With a saved state, extra files can be saved to the server, but they can’t be for encoded states.With an encoded state, the values are visible in the URL, but with a saved state, they are not.The main differences between an encoded state and a saved-to-server state are: When the state is saved to the server, the URL might look like. ![]() An example of a bookmark URL for this app is. You can see this in action with this app. With an encoded state, the entire state of the application is contained in the URL’s query string. There are two types of bookmarking: encoding the state in a URL, and saving the state to the server. Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:39 Status: InProgress StatusMessage: Publishing web layer (AGO).As of version 0.14, Shiny supports bookmarkable state: users can save the state of an application and get a URL which will restore the application with that state. Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:39 Status: InProgress StatusMessage: Publishing tool initialized Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:37 Status: InProgress StatusMessage: Uploading service definition Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:37 Status: InProgress StatusMessage: Staging successful Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:35 Status: InProgress StatusMessage: Compressing package into SD file ![]() Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:33 Status: InProgress StatusMessage: Staging feature service Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:33 Status: InProgress StatusMessage: Consolidate data Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:33 Status: InProgress StatusMessage: Preparing maps and layers for processing Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:33 Status: InProgress StatusMessage: Stage Tool initialized Land_Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:33 Status: InProgress StatusMessage: Using ArcGIS Version 10.1 for staging (Source for version: GP Staging Parameters) Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:30 Status: InProgress StatusMessage: Consolidating data and staging web layer Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:30 Status: InProgress StatusMessage: Publishing process started Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:29 Status: InProgress StatusMessage: Reading thumbnail from file Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:29 Status: InProgress StatusMessage: Loading manifest Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:26 Status: InProgress StatusMessage: Sharing process started Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:25 Status: Pending StatusMessage: Sharing process started Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:25 Status: InProgress StatusMessage: Creating thumbnail from map Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:25 Status: InProgress StatusMessage: Loading manifest Land Parcel 31 WebFeatureLayer ULGIS harishkv03 10:00:25 Status: InProgress StatusMessage: Successfully wrote sharing info file
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |