Ideally while creating these Quicktext we will be selecting the folder where this should go and save so that we can provide the access to these QuickText for an user using the folder only.
We have identified one issue where even after the desired folder selected while creating the new Quicktext but these Quicktext not showing under selected folder it's going under all folder/all QuickText .
So ,quick fix for this to update the folder for all these Quicktext can be done either using the Apex code snippet or using the SOQL.
Go to folder where you want to place the QuickText and copy the folder id from the url .
Just run the query on QuickText object to get the all the templates where FolderId is blank or you can just query your QuickText by using the Name.
List<QuickText> lisQtextToUpdate = new List<QuickText>();
for (QuickText qt :[SELECT Id,Name,FolderId From QuickText WHERE FolderId= Null])
{
qt.FolderId = <Your Folder Id>;
lisQtextToUpdate.add(qt);
}
if (!lisQtextToUpdate.isEmpty())
update lisQtextToUpdate;
Happy Learning 😊
Please comment or write us if you have any queries/requirements.
Please like,follow,bookmark,subscribe this site to receive daily updates.
LinkedIn Group - Srinivas4sfdc (I Love Coding... You?)
FaceBook Page - I Love Coding. You?
Please like,follow,bookmark,subscribe this site to receive daily updates.
LinkedIn Group - Srinivas4sfdc (I Love Coding... You?)
FaceBook Page - I Love Coding. You?