Assign categories in form

Stefan Lorenz asked on February 24, 2014 05:40

Hi,

I'd like to assign categories through a form. Though the "Multiple Category Selector" form control shows categories I assigned in the CSM Desk (Document->Properties->Categories), changes I make there aren't written back to the document properties. Do I need to give the field a special name or is there another solution?

Best regards Stefan

Correct Answer

Filip Ligač answered on February 24, 2014 08:25

Hi Stefan,

Which exact version and hotfix do you use? If it is version 7 and you do not have the latest hotfix applied, please do so since there were several bugs related to "Multiple Category Selector" form control which might cause the issue you experience.

However, I tested it with the latest hotfix (7.0.76) and the same scenario as you described worked just fine for me, i.e. selected categories in Form tab were saved and displayed in Properties -> Categories correctly.

Best regards, Filip Ligac

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on February 24, 2014 07:20

They are saved, just not on the Document itself. There is a linking that takes place between the document ID and the category ID. You might check out this post

0 votesVote for this answer Mark as a Correct answer

Stefan Lorenz answered on February 24, 2014 08:11

Well, I think what I'm looking for is the category as a system attribute for my custom document type. I'm just wondering that the Selector read the doc's categories (though it's "bound" to a regular attribute/field) but doesn't write the changes back when saving the form.

0 votesVote for this answer Mark as a Correct answer

Stefan Lorenz answered on February 24, 2014 08:17

Hmm, I found this, that sounds like it should work as I intended. So perhaps it's a bug or I made a wrong setup.

0 votesVote for this answer Mark as a Correct answer

Stefan Lorenz answered on February 24, 2014 08:54

Shame on me, you're right, I was a few hotfixes back. That solved the issue. Thanks!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.