Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show roll-up summary definition in field metadata #125

Closed
Tracked by #5
dufoli opened this issue Jun 2, 2024 · 1 comment · Fixed by #148
Closed
Tracked by #5

Show roll-up summary definition in field metadata #125

dufoli opened this issue Jun 2, 2024 · 1 comment · Fixed by #148
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dufoli
Copy link
Owner

dufoli commented Jun 2, 2024

sorenkrabbe/Chrome-Salesforce-inspector#17

@dufoli dufoli added the enhancement New feature or request label Jun 2, 2024
@dufoli dufoli self-assigned this Jun 2, 2024
@dufoli dufoli mentioned this issue Jun 2, 2024
96 tasks
@dufoli dufoli added this to the 1.28 milestone Jun 5, 2024
@dufoli
Copy link
Owner Author

dufoli commented Jul 13, 2024

ok to get that we need to do for each fieldDefinition with DataType like 'Roll-Up%'

SELECT id, DeveloperName, Metadata
from FieldDefinition
where EntityDefinition.DeveloperName = 'Contract' and DeveloperName = 'INO_Cout_Total_Phases'
and use metadata
example:
[
{
"attributes": {
"type": "FieldDefinition",
"url": "/services/data/v60.0/tooling/sobjects/FieldDefinition/Contract.00N1v00000TKlph"
},
"Id": "000000000000000AAA",
"DeveloperName": "INO_Cout_Total_Phases",
"Metadata": {
"businessOwnerGroup": null,
"businessOwnerUser": null,
"businessStatus": "DeprecateCandidate",
"caseSensitive": null,
"complianceGroup": null,
"customDataType": null,
"defaultValue": null,
"deleteConstraint": null,
"deprecated": null,
"description": null,
"displayFormat": null,
"displayLocationInDecimal": null,
"elementType": null,
"encryptionScheme": null,
"escapeMarkup": null,
"externalDeveloperName": null,
"externalId": false,
"formula": null,
"formulaTreatBlanksAs": null,
"inlineHelpText": null,
"isAIPredictionField": null,
"isConvertLeadDisabled": null,
"isFilteringDisabled": null,
"isNameField": null,
"isSortingDisabled": null,
"label": "Coût total des phases",
"length": null,
"lookupFilter": null,
"maskChar": null,
"maskType": null,
"metadataRelationshipControllingField": null,
"mktDataLakeFieldAttributes": null,
"mktDataModelFieldAttributes": null,
"populateExistingRows": null,
"precision": null,
"readOnlyProxy": null,
"referenceTargetField": null,
"referenceTo": null,
"relationshipLabel": null,
"relationshipName": null,
"relationshipOrder": null,
"reparentableMasterDetail": null,
"required": null,
"restrictedAdminField": null,
"scale": null,
"securityClassification": null,
"startingNumber": null,
"stripMarkup": null,
"summarizedField": "INO_Phase_Contrat__c.INO_Cout_Total__c",
"summaryFilterItems": [
{
"field": "INO_Phase_Contrat__c.Statut__c",
"operation": "notEqual",
"value": "Annulé",
"valueField": null
}
],
"summaryForeignKey": "INO_Phase_Contrat__c.Contrat__c",
"summaryOperation": "sum",
"trackFeedHistory": null,
"trackHistory": false,
"trackTrending": null,
"translateData": null,
"type": "Summary",
"unique": null,
"urls": null,
"valueSet": null,
"visibleLines": null,
"writeRequiresMasterRead": null
}
}
]

@dufoli dufoli mentioned this issue Jul 15, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant