You need to sign in to do that
Don't have an account?
Tejender Mohan 9
Can not access folder's DeveloperName on Merge Field.
Hi,
While saving the below code, Following Error Occurs: "Variable does not exist: DeveloperName"
While saving the below code, Following Error Occurs: "Variable does not exist: DeveloperName"
List<Dashboard> listAllDashboards = [SELECT DeveloperName,Type,FolderName,Folder.DeveoperName FROM Dashboard]; for(Dashboard d1 : listAllDashboards){ System.debug(d1.Folder.DeveloperName); }
Check your SOQL query, there is a spelling mistake in developername.
SELECT DeveloperName,Type,FolderName,Folder.DeveoperName FROM Dashboard.
Update it to -
SELECT DeveloperName,Type,FolderName,Folder.DeveloperName FROM Dashboard.