I just realized there is a new trigger action, Remove Links. I thought this is what I was needing, but it does not seem to work how I thought it would.
Here is my setup:
I link Single Calendar Events into a "holder" folder, which has webpaths removed, and this folder is used as a root node for an asset listing to list these events on my homepage. I removed the webpaths, as I don't want that location to ever be known.
BUT, I need to allow my admins to remove the link from that folder that does not have a webpath, but it has a webpath to is other location. So, I figured that using the Remove Links action would do the trick. So, I target the folder that contains my events, set up a Asset Accessed and URL match, but when I POST to that URL, the link from the folder never gets removed. Am I missing the intention of the Remove Links action? I assumed it was used to remove specific links, such as child assets from a specific folder.
[quote]I just realized there is a new trigger action, Remove Links. I thought this is what I was needing, but it does not seem to work how I thought it would.
Here is my setup:
I link Single Calendar Events into a "holder" folder, which has webpaths removed, and this folder is used as a root node for an asset listing to list these events on my homepage. I removed the webpaths, as I don't want that location to ever be known.
BUT, I need to allow my admins to remove the link from that folder that does not have a webpath, but it has a webpath to is other location. So, I figured that using the Remove Links action would do the trick. So, I target the folder that contains my events, set up a Asset Accessed and URL match, but when I POST to that URL, the link from the folder never gets removed. Am I missing the intention of the Remove Links action? I assumed it was used to remove specific links, such as child assets from a specific folder.[/quote]
Which version are you using? We had to add a "direct links only" flag recently as you couldnt do what you usually wanted otherwise. With this flag set it will remove the links that are exactly from the specified asset. Otherwise it removes assets that are tree descendants of the specified asset which is more useful if you want to remove links from say under the site not the media folder.
Hope thats clear (its from memory).
[quote]Which version are you using? We had to add a "direct links only" flag recently as you couldnt do what you usually wanted otherwise. With this flag set it will remove the links that are exactly from the specified asset. Otherwise it removes assets that are tree descendants of the specified asset which is more useful if you want to remove links from say under the site not the media folder.
Hope thats clear (its from memory).[/quote]
Hi Justin,
I am running 3.20.2. Yes, I have the "Directly Linked to Root Node" option checked, as my linked assets that I want to remove are directly linked under that root node.
There is something in the logs about lookups being updated, but no linking has changed:
8:28:06 - 28 Apr
User: Nicholas Hubbard (43)
Level: MySource Notice
[trigger.success - ] (Trigger Execution Success) - SUCCESS
Trigger "Remove Exhibition from Homepage" (#8), Event: "trigger_event_asset_accessed" broadcast by Asset: "Tracy Taylor Grubbs" (#3860)
8:29:04 - 28 Apr
User: Nicholas Hubbard (43)
Level: MySource Notice
[asset.lookups.updated - assetid:2196;] (Asset Lookups Updated) - Asset "Michael Azgour" has successfully updated its lookupsHere is my remove links setup:
[attachment=386:Picture_1.png]
Not sure why it would be failing, I am meeting all of the conditions... Picture_1.png (30.1 KB)
[quote]Hi Justin,
I am running 3.20.2. Yes, I have the "Directly Linked to Root Node" option checked, as my linked assets that I want to remove are directly linked under that root node.
There is something in the logs about lookups being updated, but no linking has changed:
8:28:06 - 28 Apr
User: Nicholas Hubbard (43)
Level: MySource Notice
[trigger.success - ] (Trigger Execution Success) - SUCCESS
Trigger "Remove Exhibition from Homepage" (#8), Event: "trigger_event_asset_accessed" broadcast by Asset: "Tracy Taylor Grubbs" (#3860)
8:29:04 - 28 Apr
User: Nicholas Hubbard (43)
Level: MySource Notice
[asset.lookups.updated - assetid:2196;] (Asset Lookups Updated) - Asset "Michael Azgour" has successfully updated its lookupsHere is my remove links setup:
[attachment=386:Picture_1.png]
Not sure why it would be failing, I am meeting all of the conditions...[/quote]
Your broadcast asset appears to be the user? It needs to be the linked asset.
I know this works, as we are using it in production...
[quote]Your broadcast asset appears to be the user? It needs to be the linked asset.
I know this works, as we are using it in production…[/quote]
No, the user is not the broadcast asset. That is just a standard page name, named after an artist.
Let me do some more testing to see what is going on with this…
Ok, I got this working. It was a condition of the Remove Link action that I had configured wrong. :(
Ah good!
Justin, you mentioned a "direct links only" flag, are you referring to the "Only when Candidate assets are directly linked to the root node flag? For me, I am wishing that this was a way to set a dynamic root node, or a "Only when candidate assets are directly linked to the broadcasting asset". This has become a problem for me, because if an asset is linked under multiple locations, it will remove all the links.
Here is my situation.
I am linking a page to the current user. Then, with this trigger, I would like to remove JUST that link to the page. This page also might be linked under other users. So, the problem arises when I have to set the root node to the Users folder, as hitting this trigger will remove the link from ALL users that have it linked under them. Unless there was a way to set the root node using a post var, I don't see how I can get this working.
Have I done something wrong here?