OnDemand User Group
Off Topic => General => Topic started by: ODSA on July 25, 2016, 03:26:08 PM
-
Hi All,
I am on OnDemand Content Management version 9.0.0.3, I have a requirement to add Note/Annotation to ~800 documents that were loaded as part of one incorrect load. Is it possible to add notes for all 800 document in bulk instead of adding the notes manually one at a time which will be a time consuming process?. Please advise.
Thanks,
ODSA
-
If the goal to to mark these 800 documents as 'Bad', as an alternative to adding a note/annotation have you considered changing one or more of the index values to a value that will never be normally searched by the users. For example, a date that is far in the past?
-
Hi Joe,
Can that be done in Bulk? I mean can we modify the index value of all the impacted documents at one time?
Thanks,
ODSA
-
Yup, you can use the Doc_Name field (which you can obtain from the load ID for the bad load) as your SQL criteria. The wiki has some information about the format of the Doc_Name field:
https://cmod.wiki/index.php/DOC_NAME
-JD.
-
Hi Justin,
I guess the problem here is that not all the documents of a load is corrupted, there are few in a load that are good and there are multiple such semi corrupted load.
Regards,
Shivani
-
It appears you have a data quality issue that's outside the scope of what CMOD can deal with... Garbage in, Garbage out! :)
You'll have to modify or delete these rows manually to fix this issue.
-JD.
-
Hi ODSA,
the combination DOC_NAME and DOC_OFF is unique.
17FAAA 0
17FAAA 4024
.
.
If you can generate a list of DOC_NAME, DOC_OFF from one ore iterative SQLs than you can write a script to add the annotations.
Regards
Egon
-
Ed's right -- but unless the metadata for the bad records has something in common, you've got to find these documents, and then get their Object & Offset, then put them into another SQL to do the update -- a painful process.
-JD.