You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm trying to retrieve keyword list and moderation rules using org browser, all the retrieved files goes into moderation folder.
and the type of file is .keyword-meta.xml and .rule-meta.xml for keyword list and moderation rules respectively.
and while running the CI/CD, it creates package only for moderation rules not for Keyword List.
Also when I'm creating the package manually on my local machine using git-delta, it's not capturing the keyword list (The behavior is same as above).
The git delta is unable to differnetiate between file .keyword-meta.xml and .rule-meta.xml and reading only .rule-meta.xml file type.
What is the parameter and the value you used with it?
sfdx sgd:source:delta --to HEAD --from $(previous_successfull_build_commit_id) --output . --ignore .packageignore
What is the expected result?
The generated package.xml should include below component type
All Site > Open Workspace > Moderation Rules > Content Criteria > New > give name and unique name > Save. > Click on add and add the keywords whatever you want.
click on Moderation Rules > Create a new rule > Provide the values accordingly and Save.
NOw retrive the newly created keyword list and moderation rule and try to create the package using sgd-deta commands
sfdx sgd:source:delta --to HEAD --from $(previous_successfull_build_commit_id) --output . --ignore .packageignore
Operating System: … Windows
node version: … 18.0.0
git version: … 2.39.2.windows.1
sfdx version: … sfdx-cli/7.197.8
sgd plugin version: … v5.18.0
The text was updated successfully, but these errors were encountered:
Hi @scolladon
Thanks a lot for looking into this issue.
after updating the version as v5.18.1, it's adding Keyword List component type in package.xml and working as expected.
What is the problem?
When I'm trying to retrieve keyword list and moderation rules using org browser, all the retrieved files goes into moderation folder.
and the type of file is .keyword-meta.xml and .rule-meta.xml for keyword list and moderation rules respectively.
and while running the CI/CD, it creates package only for moderation rules not for Keyword List.
Also when I'm creating the package manually on my local machine using git-delta, it's not capturing the keyword list (The behavior is same as above).
The git delta is unable to differnetiate between file .keyword-meta.xml and .rule-meta.xml and reading only .rule-meta.xml file type.
What is the parameter and the value you used with it?
sfdx sgd:source:delta --to HEAD --from $(previous_successfull_build_commit_id) --output . --ignore .packageignore
What is the expected result?
The generated package.xml should include below component type
Test.Banned
KeywordList
test.Replace_banned
test.Block_banned_keywords
test.Freeze_for_frequent_posting
test.Flag_banned
test.Review_the_first_post
ModerationRule
What is the actual result?
The delta command only picking up moderation rules and creating the package.xml with below only
test.Replace_banned
test.Block_banned_keywords
test.Freeze_for_frequent_posting
test.Flag_banned
test.Review_the_first_post
ModerationRule
Steps to reproduce
All Site > Open Workspace > Moderation Rules > Content Criteria > New > give name and unique name > Save. > Click on add and add the keywords whatever you want.
click on Moderation Rules > Create a new rule > Provide the values accordingly and Save.
NOw retrive the newly created keyword list and moderation rule and try to create the package using sgd-deta commands
sfdx sgd:source:delta --to HEAD --from $(previous_successfull_build_commit_id) --output . --ignore .packageignore
Operating System: … Windows
node version: … 18.0.0
git version: … 2.39.2.windows.1
sfdx version: … sfdx-cli/7.197.8
sgd plugin version: … v5.18.0
The text was updated successfully, but these errors were encountered: