Hi
I used ¨op.bookmarks.delete¨ to delet bookmark from the bookmark panel.
var nID = _Inst.Str2ID("op.bookmarks.delete", false);
var Op = _Inst.CreateOp(nID);
ICabNode input = Op.Params.Root["Input"];
input.Add().v = bm;
Op.Do();
But this deletes the bookmark permenently before user saves the changes . But if the user does not save the changes the deleted bookmark should be available.
Can someone let me know, how to achive this?
How to save the bookmark deletion 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: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: How to save the bookmark deletion SOLVED
Hi,
If you use the operation to delete a bookmark - it gets deleted - that is what the operation does.
So, what are you trying to achieve?
-žarko
If you use the operation to delete a bookmark - it gets deleted - that is what the operation does.
So, what are you trying to achieve?
-žarko
- TrackerSupp-Daniel
- Site Admin
- Posts: 8604
- Joined: Wed Jan 03, 2018 6:52 pm
Re: How to save the bookmark deletion
Hello,
As long as the file is not "saved" when they close it after making a change like this, the bookmark will still be in place in the original file. I am confused much like Zarko here, what is it you are trying to achieve?
Kind regards,
As long as the file is not "saved" when they close it after making a change like this, the bookmark will still be in place in the original file. I am confused much like Zarko here, what is it you are trying to achieve?
Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Tracker Software Products (Canada) LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com