Setting value of multiple custom fields
I have a custom script that attempts to write to two custom fields by calling DocumentInfo.SetFieldValue for each field. Initially, the script wrote to just one field and that worked fine. I then added a second field and wrote a fixed string to it. After rebuilding the index, only the second field was present when I looked at the results.
Should I be able to write to multiple custom fields from one script ?
You should be able to add multiple values to multiple fields, see this sample here:
You could also edit your description to paste a copy of your code.