-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
This resulted in a second view being created even though one with same name was already present
$config = @{
TableName = 'ed_contact'
DefaultViewName = 'Active Contacts'
Columns = @('ed_firstname', 'ed_lastname', 'ed_companyname', 'statuscode')
},
# Update the default view with the specified columns
$viewParams = @{
TableName = $config.TableName
Name = $config.DefaultViewName
Columns = $config.Columns
ViewType = 'System'
QueryType = 'MainApplicationView'
PassThru = $true
}
$view = Set-DataverseView @viewParams -ErrorAction Stop
Steps to Reproduce
Expected Behavior
Actual Behavior
PowerShell version
Module Version
No response
Additional Context
Checklist
- I have tried the latest version of the module
- I have searched for similar issues and couldn't find any
- I have included all the information needed to reproduce the issue
Reactions are currently unavailable
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working