Newer Version Available

This content describes an older version of this product. View Latest

Folder Resource

Returns the representation for an Analytics application or folder (GET), replaces an application or folder (PUT), updates it (PATCH), or deletes it (DELETE).
Resource URL
1/wave/folders/<folder ID>
Formats
JSON
Available Version
36.0
HTTP Methods
GET, PUT, PATCH, DELETE
GET Request Parameters
Parameter Name Type Description Required or Optional Available Version
mobile​Only​Featured​Assets Bool Set this parameter to true to show only dashboards that are enabled for the Einstein Analytics mobile app. Optional 43.0
PUT and PATCH Request Body

WaveFolderInputRepresentation

Property Name Type Description Required or Optional Available Version
applicationStatus Connect​Wave​Application​Status​Enum The creation status of application (Cancelled​Status, Completed​Status, Dataflow​In​Progress​Status, Failed​Status, In​Progress​Status, New​Status). 36.0
assetIcon String The icon enumeration that best represents the new folder or application. Valid values are 1.png through 20.png. 36.0
attachedFiles Asset​Reference​Input​Representation[] The attached file ID list 39.0
can​Be​Shared​Externally Boolean Whether the application is shared in Communities 37.0
defaultAsset Asset​Reference​Input​Representation The ID of a lens/dashboard which is presented by default for this application in App Runtime. 37.0
description String The description of the new folder or application. 36.0
featured​Assets Map (Featured​Assets​Input​Representation) The featured assets for this application to be used in the UI. 39.0
isPinned Boolean Whether the application is a pinned folder. 39.0
label String The user-facing name of the new folder or application. 36.0
name String The internal API name of the new folder or application. 36.0
shares Wave​Folder​Share​Input​Representation[] The folder sharing rules. 36.0
GET, PUT, and PATCH Response Body
Property Name Type Description Filter Group and Version Available Version
application​Status Connect​Wave​Application​Status​Enum The creation status of application (CancelledStatus, CompletedStatus, DataflowInProgressStatus, FailedStatus, InProgressStatus, NewStatus) . Medium, 36.0 36.0
attached​Files Asset​Reference​Representation[] The id's of the files attached to the insights folder Big, 39.0 39.0
can​Be​Shared​Externally Boolean Whether this app can be shared with Community Users. Big, 37.0 37.0
defaultAsset Asset​Reference​Representation The default asset (lens/dashboard) that is presented when the app is viewed in AppRuntime mode. Big, 37.0 37.0
featured​Assets Map (Featured​Assets​Representation) The featured assets for this application to be used in the UI. Big, 39.0 39.0
icon Asset​Reference​Representation The asset icon. Small, 36.0 36.0
isPinned Boolean Whether this app is pinned/unpinned. Small, 39.0 39.0
shares Wave​Folder​Share​Representation[] The folder shares list. Big, 36.0 36.0
template​Options Template​Options​Representation The options used on the last action performed on a templated Analytics application. Big, 37.0 37.0
template​SourceId String The source template ID or api name used to create the folder or application. Medium, 36.0 36.0
template​Values Map (Object) The template values used to create or update the folder or application (where applicable). Big, 37.0 37.0
template​Version String The version of the template this application was created from. Medium, 37.0 37.0
assetSharingUrl String The URL for opening this asset in the Analytics builder. This is a form of deep linking. The server examines the link parameters, which might include urlType, assetId, orgId, and loginHost, as well as other optional parameters, and translates as necessary to produce the correct result on the target client. For example, it will open the Analytics dashboard on desktop clients, or mobile if you are on a mobile OS. For example, the shared URL:
1http://{host}/​analytics/​application/​005xx000001SvSwAAK?​urlType=sharing&​orgId=00DT0000000Dpvc&​loginHost=​https%3A%2F%2F​test.my.salesforce.com
Might produce the following web Url:
1http://{host}/​insights/​web/​explore.apexp#​application/​005xx000001SvSwAAK
Or it might produce the following Url on iOS:
1com.salesforce.kona://​application/​005xx000001SvSwAAK&​orgId=00DT0000000Dpvc&​loginHost=​https%3A%2F%2F​test.my.salesforce.com
Small, 36.0 36.0
createdBy Wave​User​Representation The asset creator. Small, 36.0 36.0
created​Date Date Time the asset was created. Small, 36.0 36.0
description String Short description of the asset. Small, 36.0 36.0
id String The 18 character asset ID. Small, 36.0 36.0
label String The label of the asset. Small, 36.0 36.0
last​Accessed​Date Date Last time the asset was accessed. Small, 36.0 36.0
last​Modified​By Wave​User​Representation The user that last updated the asset. Small, 36.0 36.0
last​Modified​Date Date Last time the asset was modified. Small, 36.0 36.0
name String The name of the asset. Small, 36.0 36.0
namespace String The namespace of the asset. Small, 36.0 36.0
permissions Permissions​Representation Represents permissions for the present user. Small, 36.0 36.0
type Connect​Wave​Asset​Type​Enum The asset type. Values are:
  • Dashboard
  • DataConnector
  • Dataflow
  • Dataset
  • DatasetShard (internal)
  • DatasetVersion
  • ExternalData
  • Folder
  • Lens
  • Recipe
  • ReplicatedDataset
  • Workflow
Small, 36.0 36.0
url String URL to get the definition of the asset. Small, 36.0 36.0
FeaturedAssetsRepresentation
Property Name Type Description Filter Group and Version Available Version
assets Typed​Asset​Reference​Representation[] The list of featured assets. Small, 39.0 39.0
TypedAssetReferenceRepresentation
Property Name Type Description Filter Group and Version Available Version
type Connect​Wave​Asset​Type​Enum The asset type (Dashboard, DataConnector, DataPoolEntity, DataPoolEntityVersion, Dataflow, DataflowJob, Dataset, DatasetShard, DatasetVersion, ExternalData, Folder, Lens, Recipe, ReplicatedDataset, or Workflow). Small, 40.0 40.0
WaveFolderShareInputRepresentation
Property Name Type Description Required or Optional Available Version
accessType Connect​Wave​Access​Type​Enum The access type (Edit, Manage, View). 36.0
shareType Connect​Wave​Share​Type​Enum The share type (All​Csp​Users, All​Prm​Users, Customer​Portal​User, Group, Organization, Partner​User, PortalRole, Portal​Role​And​Subordinates, Role, Role​And​Subordinates, User). 36.0
sharedWithId ID ID of the entity that the folder is shared with. 36.0
Wave Folder Share

WaveFolderShareRepresentation

Property Name Type Description Filter Group and Version Available Version
accessType Connect​Wave​Access​Type​Enum The access type of the user (Edit, Manage, or View). Small, 36.0 36.0
imageUrl String The URL of the user image. Small, 36.0 36.0
shareType Connect​Wave​Share​Type​Enum The share type of the user.
  • AllCspUsers
  • AllPrmUsers
  • CustomerPortalUser
  • Group
  • Organization
  • PartnerUser
  • PortalRole
  • PortalRoleAndSubordinates
  • Role
  • RoleAndSubordinates
  • User
Small, 36.0 36.0
sharedWithId String The ID of the user with the share representation. Small, 36.0 36.0
sharedWithLabel String The label for the share user/group/org. Small, 36.0 36.0
FeaturedAssetsInputRepresentation
Property Name Type Description Required or Optional Available Version
assets Typed​Asset​Reference​Input​Representation[] List of default featured assets 39.0
TypedAssetReferenceInputRepresentation
Property Name Type Description Required or Optional Available Version
type Connect​Wave​Asset​Type​Enum The asset type (Dashboard, DataConnector, DataPoolEntity, DataPoolEntityVersion, Dataflow, DataflowJob, Dataset, DatasetShard, DatasetVersion, ExternalData, Folder, Lens, Recipe, ReplicatedDataset, or Workflow). 40.0
Template Options

TemplateOptionsRepresentation

Property Name Type Description Filter Group and Version Available Version
appAction Connect​Wave​Template​App​Action​Enum The last template action performed on the templated application (Create or Upgrade). Medium, 37.0 37.0
appActionDate Date The date/time the last action was performed. Medium, 37.0 37.0
appActionUser Wave​User​Representation The user that performed the last action. Medium, 37.0 37.0
Example Response Body
1{
2  "applicationStatus" : "newstatus",
3  "assetIcon" : "6.png",
4  "assetIconUrl" : "https://yourInstance.salesforce.com/icons/6.png",
5  "assetSharingUrl" : "https://yourInstance.salesforce.com/application?assetId=xxx&orgId=yyy&loginHost=jsmith-ltm.yourInstance.salesforce.com&urlType=sharing",
6  "createdBy" : {
7    "id" : "005xx000001SxwEAAS",
8    "name" : "Admin User",
9    "profilePhotoUrl" : "/profilephoto/005/T"
10  },
11  "createdDate" : "2015-06-22T17:38:33.000Z",
12  "description" : "descr",
13  "icon" : {
14    "alias" : "6.png",
15    "id" : "02Ixx00000003qvEAA",
16    "url" : "/app/icons/6.png"
17  },
18  "id" : "02Ixx00000003qvEAA",
19  "label" : "A new App",
20  "lastModifiedBy" : {
21    "id" : "005xx000001SxwEAAS",
22    "name" : "Admin User",
23    "profilePhotoUrl" : "/profilephoto/005/T"
24  },
25  "lastModifiedDate" : "2015-06-22T17:38:33.000Z",
26  "name" : "A_new_App1",
27  "permissions" : {
28    "manage" : true,
29    "modify" : true,
30    "view" : true
31  },
32  "shares" : [ {
33    "accessType" : "manage",
34    "imageUrl" : "/profilephoto/00G/T",
35    "shareType" : "organization",
36    "sharedWithId" : "00Gxx000000nCDzEAM",
37    "sharedWithLabel" : "All Internal Users"
38  }, {
39    "accessType" : "manage",
40    "imageUrl" : "/profilephoto/005/T",
41    "shareType" : "user",
42    "sharedWithId" : "005xx000001SxzaAAC",
43    "sharedWithLabel" : "Integration User"
44  } ],
45  "type" : "folder",
46  "url" : "/services/data/v36.0/wave/folders/00lxx000000fmEpAAI"
47}