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

Compendium Integration

I'm trying to add compendium integration to a custom sheet, and while that part is fairly simple, my problem comes from clearing the fields For example, if I make a new spell slot, then I drag a spell onto, the fields that are applicable fill in like they should. Then if I drag a different spell onto that same spot the information that is different changes but if the first spell had a target field, but the second doesn't (like cone of cold, then alarm) it doesn't erase the fields that the new spell DOESN'T have. How do I make it do that?
1492994209

Edited 1492994263
vÍnce
Pro
Sheet Author
I don't think the drag/drop feature can erase attribute data. I believe you should Add a new repeating row and drag/drop to it in order to avoid any attribute value conflicts.  
Second question, what is the attribute value for the description? 
1493006828

Edited 1493006868
vÍnce
Pro
Sheet Author
Peter W. said: Second question, what is the attribute value for the description?&nbsp; Hmmm. &nbsp;Using the PF compendium and sheet as reference, I'm guessing all text for the compendium entry(class="pagecontent") that isn't found under attributes appears to be considered description (add accept="Content" in your description input). <a href="https://wiki.roll20.net/Building_Character_Sheets#Compendium_Integrationi" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets#Compendium_Integrationi</a> : "You can use accept="Content" if you wish to receive the plaintext content from the entry (the content located above the "Attributes" header)"