We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting System.CalloutException: IO Exception: Read timed out error
I have tried updating tabVisibility with an above approach for the same profile and it works as expected.
public void updateTabVisibilityProfile() { createSession(); MetadataService.Profile communityProfile = (MetadataService.Profile) service.readMetadata('Profile', new String[] { 'Profile1' }).getRecords()[0]; for(MetadataService.ProfileTabVisibility tabVisibility : communityProfile.tabVisibilities){ tabVisibility.visibility = 'Hidden'; } List<MetadataService.SaveResult> results = service.updateMetadata(new MetadataService.Metadata[] { communityProfile }); handleSaveResults(results[0]); }
public void syncProfile() { createSession(); MetadataService.Profile sourceProfile = (MetadataService.Profile) service.readMetadata('Profile', new String[] { 'Community User - Participant' }).getRecords()[0]; System.debug('sourceProfile >>'+sourceProfile.fullName); sourceProfile.fullName = 'Profile2Name'; sourceProfile.userLicense = 'License2'; List<MetadataService.SaveResult> results = service.updateMetadata(new MetadataService.Metadata[] { sourceProfile }); handleSaveResults(results[0]); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting System.CalloutException: IO Exception: Read timed out error
I have tried updating tabVisibility with an above approach for the same profile and it works as expected.
tabVisibility update code (SUCCESS)
Cloning whole profile (ERROR - Read Timeout)
The text was updated successfully, but these errors were encountered: