use APIDb_ModifyHotlinkNodeID to modify hotlinknode name not work?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-11-01
08:43 AM
- last edited on
‎2022-09-29
10:04 AM
by
Daniel Kassai
‎2019-11-01
08:43 AM
Hi.
I use APIDb_ModifyHotlinkNodeID to modify hotlinknode name,but it does not work.
In the HotLink Module Manager ,the hotlink name is also the old name.
the code e.g:
I use APIDb_ModifyHotlinkNodeID to modify hotlinknode name,but it does not work.
In the HotLink Module Manager ,the hotlink name is also the old name.
the code e.g:
GS::snuprintf(hotlinkNode.name, API_UniLongNameLen - 1, L("Hotlink updated by test add-on")); err = ACAPI_Database (APIDb_ModifyHotlinkNodeID, &hotlinkNode); // rename hotlink node if (err == NoError && hotlinkNode.guid != APINULLGuid) // update cache content err = ACAPI_Database (APIDb_UpdateHotlinkCacheID, const_cast<API_Guid*> (&hotlinkNode.guid)); if (err == NoError) { char guidStr[64]; APIGuid2GSGuid (hotlinkNode.guid).ConvertToString (guidStr); WriteReport ("Hotlink node is updated successfully: {%s}", guidStr); }
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-12-09 03:12 PM
‎2019-12-09
03:12 PM
Hey DevJeer,
What ErrCode do you get from the function call?
What ErrCode do you get from the function call?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-12-12 12:58 PM
‎2019-12-12
12:58 PM
akomporday wrote:Hi.
Hey DevJeer,
What ErrCode do you get from the function call?
I get NoError from the function call.