jetstream icon indicating copy to clipboard operation
jetstream copied to clipboard

Sort Fields by Created Date in Manage Permissions View

Open LoganGanieanyReddit opened this issue 1 year ago • 2 comments

A lot of times I will update FLS after a deployment in the Manage Permissions tab. It would be nice if we could sort the fields by created date so It's easier to find the fields that need updated

LoganGanieanyReddit avatar May 22 '24 16:05 LoganGanieanyReddit

I did some digging on what this would take and it looks like the created/modified fields are not available on the query being used to fetch all fields regardless of current user's permission.

This will take some additional work to figure out options for obtaining this information and combining with results.

For the implementation, I was thinking to add a gear dropdown menu where the user can toggle on an option to show dates within the table.

SELECT QualifiedApiName, Label, DataType, DurableId,
	EntityDefinition.QualifiedApiName, FieldDefinitionId, NamespacePrefix, IsCompound, isCreatable, IsPermissionable
FROM EntityParticle
WHERE EntityDefinition.QualifiedApiName IN ('Account')
	AND IsPermissionable = TRUE
	AND IsComponent = FALSE
ORDER BY EntityDefinitionId ASC, QualifiedApiName ASC
LIMIT 2000
OFFSET 0

paustint avatar May 23 '24 07:05 paustint

Would be really handy!! Thanks Austin

LoganGanieanyReddit avatar May 24 '24 20:05 LoganGanieanyReddit