Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

"No attribute was found for..." error continues to show up, even though the Macro is working.

I'm trying to get a menu button to show up in the chat, which my players will then click for further information in the chat. For some reason, every macro that includes the menu buttons also includes the "No attribute was found for..." error, referencing the very data the button is linking to. The button works correctly, but the error message is still there. Here's further details: I'm using a 5th Edition character sheet, and I've named it "Master Description Doc." Within the Attributes & Abilities tab I've created an Ability that is titled "TestAbilityForMenu" and the body of the macro is this: &{template:npcaction} {{name=test 2}} {{rname=Test Ability}} {{description=blah blah blah}} I've written the following macro to reference the one above: &{template:npcaction} {{name=test 1}} {{rname=Testing Menu Error}} {{description=blah blah blah [Button](~@{Master Description Doc|TestAbilityForMenu})}} When it's entered into the chat I get the following error message: No attribute was found for @{Master Description Doc|TestAbilityForMenu} However, the macro appears to be working When I click the Button I get the correct macro output: I'm new to writing Macros, so if anyone could help explain what I'm doing wrong that'd be great. I've already rebuilt this page from the ground up so I don't think the sheet is bugged. I think I'm just doing something wrong.
1649903830
Kraynic
Pro
Sheet Author
Your button link is a bit off. Try this: {{name=test 1}} {{rname=Testing Menu Error}} {{description=blah blah blah [Button](~Master Description Doc|TestAbilityForMenu)}}
Thank you! It seems to have worked. I think it was the @ symbol that was messing it up.
1649906722
Kraynic
Pro
Sheet Author
Yeah, it is just: [Button Label](~Macro Sheet Name|abilitymacroname)
1649966457
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
And if both the calling macro and the called macro are on the same sheet, you can even shorten it to: [Button Label](~abilitymacroname)