Please Log in or Create an account to join the conversation.
If you intend on just acting on the upload after it has already processed then you'd use gallery_onAfterCreateItem for new uploads. It only contains a single variable the ItemTable object which is the PHP entity for its _comprofiler_plugin_gallery_items row.- do you have triggers allowing to act on uploaded files with selected extensions ?
No- is there a pdf parser library within CB ?
I suppose if you managed to get this working you'd act on gallery_onAfterDeleteItem (same as above regarding its variable) and delete the text file when the pdf is deleted. I can't imagine why you'd need to convert the pdf to text though.- if I succeed in converting a file, how could I link the txt version to the pdf one so that removing the pdf would delete the txt version ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You'll need to process the PDF. We don't check any of that in CB Gallery.how can I get the confidentiality status of the document ?
[var1_id]how can I get the id ?
It will have a domain if it's a link. Use the below to get the domain. If empty string then it's not a linked media.I guess it's better to use than the name to allow deletion of the stored vectors if the document is suppressed
if it's a youtube link, where is it stored and how can I send the url to my other application ?
Same question if it's a website url for instance ?
Please Log in or Create an account to join the conversation.