How do I add CMS.Member updates to the CD process
2025/02/04 2:04 PM
We've added some custom fields to the CMS.Member class beneath the Membership module.
Is there a way to include these changes as part of the CD process? I have updated the repository.config but picked up an error on deployment under... dotnet run 'kxp-cd-store'
"One or more object types are not supported by the repository: cms.member"
Environment
- Xperience by Kentico version: [30.0.3]
- .NET version: [9]
- Execution environment: [SaaS]
- Link to relevant Xperience by Kentico documentation
Answers
You'll want to use the cms.systemtable
object type which is mentioned in the CI/CD object types docs.
<?xml version="1.0" encoding="utf-8"?>
<RepositoryConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RestoreMode>CreateUpdate</RestoreMode>
<IncludedObjectTypes>
<ObjectType>cms.systemtable</ObjectType>
</IncludedObjectTypes>
<ObjectFilters>
<IncludedCodeNames ObjectType="cms.systemtable">
cms.member
</IncludedCodeNames>
</ObjectFilters>
</RepositoryConfiguration>
You can see an example in the Kentico Community Portal source code.
To answer this question, you have to login first.