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

Retrieving invalid tabs #66

Closed
jonny-harte opened this issue Aug 29, 2023 · 1 comment
Closed

Retrieving invalid tabs #66

jonny-harte opened this issue Aug 29, 2023 · 1 comment

Comments

@jonny-harte
Copy link

Hi, when I do a profile retrieve from a refreshed sandbox the below list of tabs get added. However, when I try to deploy the profile back to the same sandbox (or other sandboxes) they error saying they're invalid tabs?

=== Deploy Errors
ERRORS                                                                                
──────────────────────────────────────────────────────────────────────────────────────
You can't edit tab settings for AccountAccountRelation, as it's not a valid tab.      
You can't edit tab settings for WorkTypeCareSpecialty, as it's not a valid tab.       
You can't edit tab settings for ActionPlanTemplateAssignment, as it's not a valid tab.
You can't edit tab settings for ActiveScratchOrg, as it's not a valid tab.            
You can't edit tab settings for AppointmentReason, as it's not a valid tab.           
You can't edit tab settings for ApptReasonEngmtChannelType, as it's not a valid tab.  
You can't edit tab settings for CarePlan, as it's not a valid tab.                    
You can't edit tab settings for CarePlanTemplate, as it's not a valid tab.            
You can't edit tab settings for CarePlanTemplateBenefit, as it's not a valid tab.     
You can't edit tab settings for CarePlanTemplateGoal, as it's not a valid tab.        
You can't edit tab settings for CarePractnFacilityAppt, as it's not a valid tab.      
You can't edit tab settings for CaseParticipant, as it's not a valid tab.             
You can't edit tab settings for ChannelProgram, as it's not a valid tab.              
You can't edit tab settings for ChannelProgramLevel, as it's not a valid tab.         
You can't edit tab settings for ContactContactRelation, as it's not a valid tab.      
You can't edit tab settings for ContractPaymentAgreement, as it's not a valid tab.    
You can't edit tab settings for GoalAssignment, as it's not a valid tab.              
You can't edit tab settings for GoalDefinition, as it's not a valid tab.              
You can't edit tab settings for IndividualApplication, as it's not a valid tab.       
You can't edit tab settings for InspectionAppOnDesktop, as it's not a valid tab.      
You can't edit tab settings for LearningItem, as it's not a valid tab.                
You can't edit tab settings for LightningInstrumentation, as it's not a valid tab.    
You can't edit tab settings for NamespaceRegistry, as it's not a valid tab.           
You can't edit tab settings for PartnerFundAllocation, as it's not a valid tab.       
You can't edit tab settings for PartnerFundClaim, as it's not a valid tab.            
You can't edit tab settings for PartnerFundRequest, as it's not a valid tab.          
You can't edit tab settings for PartnerMarketingBudget, as it's not a valid tab.      
You can't edit tab settings for PartyRoleRelation, as it's not a valid tab.           
You can't edit tab settings for ProblemDefinition, as it's not a valid tab.           
You can't edit tab settings for ProviderNetworkContract, as it's not a valid tab.     
You can't edit tab settings for SalesCoachHome, as it's not a valid tab.              
You can't edit tab settings for ScratchOrgInfo, as it's not a valid tab.              
You can't edit tab settings for PartyRelationshipGroup, as it's not a valid tab.      
You can't edit tab settings for WorkTypeCodeSetBundle, as it's not a valid tab.       
You can't edit tab settings for AccountRelationship, as it's not a valid tab. 
@amtrack
Copy link
Owner

amtrack commented Aug 29, 2023

Hi @jonny-harte, unfortunately this is what the CRUD-Based Metadata API returns.

This simple sfdx plugin is only making the API available as a command. It does not attempt to fix/workaround the issues of the API.

I faced the same issue when trying to modify a Profile programmatically.
Here I excluded all tabSettings as a hack because I wasn't interested in them (similar to this thread)
But I know this is not a real solution.
If you have some time, it would be best to report this to Salesforce directly.

@jonny-harte jonny-harte closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants