Hi Support,
How do I get the number of imported comments using op.document.importCommentsAndFields ?
As when using "Import comments from file" (from main menu - Comments) -> after the import has finished a message box will get displayed about the number of comments being imported.
How to get that number from the import IOperation?
-žarko
Number of imported comments via op.document.importCommentsAndFields ? SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Number of imported comments via op.document.importCommentsAndFields ?
Unfortunately, this info is inside internal (not public) data of import-operation. At the moment you cannot reach it..
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Number of imported comments via op.document.importCommentsAndFields ? SOLVED
Hi Vasyl,
Ok, clear.
If there's any chance: please add NumberOfAnnotationsImported and NumberOfFieldsImported into the, currently empty, "Output" parameter....
-žarko
Ok, clear.
If there's any chance: please add NumberOfAnnotationsImported and NumberOfFieldsImported into the, currently empty, "Output" parameter....
-žarko
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Number of imported comments via op.document.importCommentsAndFields ?
Unfortunately but not the moment, maybe later...
From another side you may get number of added annots using idea like to:
1. build list of all unique names of existing annots on pages
2. import
3. build new list of all unique names of existing annots
4. compare two lists of names to detect newly added annots..
From another side you may get number of added annots using idea like to:
1. build list of all unique names of existing annots on pages
2. import
3. build new list of all unique names of existing annots
4. compare two lists of names to detect newly added annots..
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Number of imported comments via op.document.importCommentsAndFields ?
Hi Vasyl,
Thanks, that's it.
-ž
Thanks, that's it.
-ž
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact: