• Devender Thareja
  • NEWBIE
  • 20 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 2
    Likes Given
  • 2
    Questions
  • 4
    Replies
I understand that SOQL access to FolderShare object is not available and if you want to programmtically update/retrieve FolderShare information, the only work-around is:
1. Use metadata API - retrieve, for all Folder metadata for Dashboard or Report, I was focussing on Dashboards only.
2. This will retrieve all dashboard metadata and it would have information for FolderShare data. Use any editor to make changes, for example remove access to a group, add access to a group etc.
3. Use metadata API - deploy to send updated metadata to org or sandbox.

This is explained here: https://help.salesforce.com/articleView?id=000318221&type=1&mode=1 (https://help.salesforce.com/articleView?id=000318221&type=1&mode=1" style="color:blue; text-decoration:underline)

I used package.xml for step 1 as below:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>        <members>AGM_Marketing_Operation_Dashboard_Folder/AM_AD_Activity_Dashboard_PFQ</members>
        <name>Dashboard</name>
    </types>
    <version>48.0</version>
</Package>

I was able to successfully retreive AM_AD_Activity_Dashboard_PFQ.dashboard.

Now QUESTION:
I was expecting FolderShare tag to be part of this dashboard file. It was not there. Do I need to code FolderShare in the package.xml instead of Dashboard? How would I know id of FolderShare , as * is not supported. 

Please share if you have done this or know how to do it.

Thanks!
 
When I submit my answers, it keeps working and never come back with a confirmation right or wrong answers.
When I submit my answers, it keeps working and never come back with a confirmation right or wrong answers.
I understand that SOQL access to FolderShare object is not available and if you want to programmtically update/retrieve FolderShare information, the only work-around is:
1. Use metadata API - retrieve, for all Folder metadata for Dashboard or Report, I was focussing on Dashboards only.
2. This will retrieve all dashboard metadata and it would have information for FolderShare data. Use any editor to make changes, for example remove access to a group, add access to a group etc.
3. Use metadata API - deploy to send updated metadata to org or sandbox.

This is explained here: https://help.salesforce.com/articleView?id=000318221&type=1&mode=1 (https://help.salesforce.com/articleView?id=000318221&type=1&mode=1" style="color:blue; text-decoration:underline)

I used package.xml for step 1 as below:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>        <members>AGM_Marketing_Operation_Dashboard_Folder/AM_AD_Activity_Dashboard_PFQ</members>
        <name>Dashboard</name>
    </types>
    <version>48.0</version>
</Package>

I was able to successfully retreive AM_AD_Activity_Dashboard_PFQ.dashboard.

Now QUESTION:
I was expecting FolderShare tag to be part of this dashboard file. It was not there. Do I need to code FolderShare in the package.xml instead of Dashboard? How would I know id of FolderShare , as * is not supported. 

Please share if you have done this or know how to do it.

Thanks!
 
Hello,

I am receiving and Internal Server Error when accessing the external data for invoices. 
Internal Server Error

My project is created correctly. When I change the Status of the Project to Billable, the invoices related list appears and the status is changed to Billed. The invoices related list only shows the same error text as above.

User-added image

I found a knowledge article that indicates that this may be a external server issue.

https://help.salesforce.com/articleView?amp;language=en_US&id=000228082&type=1

I have been working on this error for sa couple of days now and do not have any idea how to proceed. Any suggestions would be greatly appreciated.

Thank you
I'm receiving the following error on challenge #6 of the Lightning Superbadge:

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Delete failed. First exception on row 0 with id 0035000002hUBgRAAW; first error: DELETE_FAILED, Your attempt to delete Sam the ninja could not be completed because it is associated with the following adventure packages.: null, null : []

Looking at the Developer Console, it looks like the code which checks the system is forgetting to delete the Adventure Package records before deleting the Contact. Has anyone else run into this issue?

Thank you!
Hello,

I am receiving and Internal Server Error when accessing the external data for invoices. 
Internal Server Error

My project is created correctly. When I change the Status of the Project to Billable, the invoices related list appears and the status is changed to Billed. The invoices related list only shows the same error text as above.

User-added image

I found a knowledge article that indicates that this may be a external server issue.

https://help.salesforce.com/articleView?amp;language=en_US&id=000228082&type=1

I have been working on this error for sa couple of days now and do not have any idea how to proceed. Any suggestions would be greatly appreciated.

Thank you