TextPreview field is coming null in trigger on ContentNote object

I am writing trigger on ContentDocumentLink and getting ContentNote's TextPreview field. But when I am querying the field it

for(ContentNote cnt : [SELECT Id, TextPreview FROM ContentNote WHERE Id IN :ContentDocumentIdList])                             {             contentNoteMap.put(cnt.Id, cnt);             System.debug('####:'+cnt);         } 

Just I want that field value to copy into other object.

Thanks in Advance!

Regards Venkat.

Replay

Category: apex Time: 2016-07-29 Views: 4
Tags: trigger apex

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.110 (s). 12 q(s)