cancel
Showing results for 
Search instead for 
Did you mean: 

Updating keywords from previous date using onbase query by document date

Pradip_Patel
Champ in-the-making
Champ in-the-making

Hello,

I am creating a batch process that will update all keywords of the document. I am trying to create a query that returns list of document ids inserted from specific date. Can someone point me in correct direction?

here's what I tried but no success..

'Dim documentDate As KeywordType = core.KeywordTypes.Find("Document Date")

'Dim docDateQueryKeyword As Keyword = documentDate.CreateKeyword("01/04/2011")

'docQuery.AddKeyword(docDateQueryKeyword)

Thanks

 

2 REPLIES 2

Andrew_Matson
Champ in-the-making
Champ in-the-making

Check out the AddDateRange method under the DocumentQuery class. Just set both the fromdate and todate to the same.

Thank you!