A launchpad folder can contain content of the following types:
In the following example, the folder Benefits and Payments contains the two subfolders:
The following screenshot shows this folder in transaction LPD_CUST:
To access the folder Benefits and Payments directly, use the following URL:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')?$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')?$format=xml
To access the subfolders of the the folder Benefits and Payments, use the following URL:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/Folders?$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/Folders?$format=xml
To access the child links of a folder in a launchpad (in our example, the Benefits and Payments folder in the Home and Area Page launchpad), add /Links to the URL as in the following example:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/Links?$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/Links?$format=xml
This returns all links that are direct children of the of the folder that you have specified (excluding links in subfolders).
If you would like to display all links that are contained in a folder including links in any subfolders, add /AllLinks to the URL as in the following example:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/AllLinks?$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/AllLinks?$format=xml
The following XML code shows an example for a link entry:
<?xml version="1.0" encoding="utf-8" ?> <feed xml:base="http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"> <id>http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Links</id> <title type="text">Links</title> <updated>2012-07-23T12:04:16Z</updated> <author> <name /> </author> <link href="Links" rel="self" title="Links" /> <entry> <id>http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')</id> <title type="text">Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')</title> <updated>2012-07-23T12:04:16Z</updated> <category term="LAUNCHPAD.Link" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <link href="Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')" rel="edit" title="Link" /> <link href="Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')/AssociatedApps" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/AssociatedApps" type="application/atom+xml;type=feed" title="AssociatedApps" /> <link href="Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')/AssociatedLinks" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/AssociatedLinks" type="application/atom+xml;type=feed" title="AssociatedLinks" /> <link href="Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')/Tags" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Tags" type="application/atom+xml;type=feed" title="Tags" /> <link href="Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')/Icons" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Icons" type="application/atom+xml;type=feed" title="Icons" /> <link href="Links('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F')/NavTargetStandalone" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/NavTargetStandalone" type="application/atom+xml;type=entry" title="NavTargetStandalone" /> <content type="application/xml"> <m:properties> <d:id>08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F</d:id> <d:href>sap-lpd:08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF8811D66FDE133F</d:href> <d:type>URL</d:type> <d:hidden>false</d:hidden> <d:text>Participation Overview</d:text> <d:description>View a list of plans in which you are currently enrolled.</d:description> <d:style /> <d:applicationData /> <d:applicationType>URL</d:applicationType> <d:applicationAlias /> <d:myFavorite>false</d:myFavorite> <d:myFavoriteCreated m:null="true" /> <d:myLastUsed m:null="true" /> <d:myUsageCounter>0</d:myUsageCounter> </m:properties> </content> </entry>
To sort this list in ascending order, you can add the URL parameter $orderby=text asc as in the following example:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/AllLinks?$orderby=text asc&$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/AllLinks?$orderby=text asc&$format=xml
To sort this list in descending order, replace asc by desc as in the following example:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/AllLinks?$orderby=text desc&$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/AllLinks?$orderby=text desc&$format=xml
You can also filter the list using simple statements like the following: $filter=text eq 'Participation Overview'
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/AllLinks?$filter=text eq 'Participation Overview'&$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/AllLinks?$filter=text eq 'Participation Overview'&$format=xml
To get the icons of a folder, you can request /Folders('<launchpad ID of the folder>')/Icons as in the following example:
URL: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('<LAUNCHPAD ID>')/Icons?$format=xml
Example: http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Folders('08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4')/Icons?$format=xml
The following XML code shows an example for an icon entry:
<?xml version="1.0" encoding="utf-8" ?> <feed xml:base="http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"> <id>http://<server>:<port>/sap/opu/odata/UI2/LAUNCHPAD/Icons</id> <title type="text">Icons</title> <updated>2012-07-23T12:45:17Z</updated> <author> <name /> </author> <link href="Icons" rel="self" title="Icons" /> <entry> <id>http://vmw3815.wdf.sap.corp:50009/sap/opu/odata/UI2/LAUNCHPAD;o=PB8_111/Icons('LARGE08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4xxxx%2FSAP%2FPUBLIC%2FBC%2FPictograms%2Fmoney.gif')</id> <title type="text">Icons('LARGE08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4xxxx%2FSAP%2FPUBLIC%2FBC%2FPictograms%2Fmoney.gif')</title> <updated>2012-07-23T12:45:17Z</updated> <category term="LAUNCHPAD.Icon" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <link href="Icons('LARGE08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4xxxx%2FSAP%2FPUBLIC%2FBC%2FPictograms%2Fmoney.gif')" rel="edit" title="Icon" /> <link href="Icons('LARGE08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4xxxx%2FSAP%2FPUBLIC%2FBC%2FPictograms%2Fmoney.gif')/$value" rel="edit-media" type="image/gif" /> <content type="image/gif" src="/SAP/PUBLIC/BC/Pictograms/money.gif" /> <m:properties> <d:id>LARGE08HOME_AND09AREA_PAGE2080E0ED0A31991DDDBF880C52951503A4xxxx/SAP/PUBLIC/BC/Pictograms/money.gif</d:id> <d:src>/SAP/PUBLIC/BC/Pictograms/money.gif</d:src> <d:mimeType>image/gif</d:mimeType> <d:size>LARGE</d:size> </m:properties> </entry> </feed>