List of Objects with Linkable Attributes

This page lists all Objects including their Linked Attributes, with options to link or unlink any Attribute individually or batched by type.   The Table, Attribute Labels, and Buttons are all styled using Bootstrap 3 default theme classes.   A list of all potential Attributes is generated and copied into each row, and later processed by jQuery to show (unhide) only the appropriate Unlinked Attributes for each Object.  
Processing this Hashtag Markup:
<# start list for objects;
	must relate id to object_attributes.object_id;
	must relate object_attributes.attribute_id to attributes.id;
	sort by objects.id, attributes.type desc, attributes.name as number;
#>
	<#: potential redirect :#>
	<# set links.<# id #>.<# attributes.id #>; #>
<# end list #>

<# start deep loop for links; #>
	Processing link for Object <# key1 #> ⇔ Attribute <# key2 #><br>
<# end loop #>
Note:This markup is useful in situations that require further processing of linked records, but only after all rows have been processed for potential redirects, such as checking for sufficient funds before batch processing a transaction.   This method avoids a second List that would generate another SQL query or external request.  
Processing link for Object 1a36d1e929cbb72f5fd8fa35aa57f175 ⇔ Attribute d350f4a08d039c08ffae5b0ca7d94417
Processing link for Object 1a36d1e929cbb72f5fd8fa35aa57f175 ⇔ Attribute 649d8318651bafb9dc83f7263500e10e
Processing link for Object 45510c19892fa4f5b39dd19a64acbdb9 ⇔ Attribute ccc19171151a1e07bf813aefa79d0406
Processing link for Object 45510c19892fa4f5b39dd19a64acbdb9 ⇔ Attribute 34d350be060f43c9f20ca81065db86f2
Processing link for Object 45510c19892fa4f5b39dd19a64acbdb9 ⇔ Attribute 789e90d9b1743babc512393d60afc868
Processing link for Object 45510c19892fa4f5b39dd19a64acbdb9 ⇔ Attribute e8a4eafecf68214f2f1fed2bb26e3990
Processing link for Object 45510c19892fa4f5b39dd19a64acbdb9 ⇔ Attribute 1733dddb4c22fde72c6ec4b4a59613a3
Processing link for Object 58345b804f9e5f294d86035aaea7f7cf ⇔ Attribute 789e90d9b1743babc512393d60afc868
Processing link for Object 58345b804f9e5f294d86035aaea7f7cf ⇔ Attribute d350f4a08d039c08ffae5b0ca7d94417
Processing link for Object 58345b804f9e5f294d86035aaea7f7cf ⇔ Attribute e514cc9cd079b52502498be4ca3ef543
Processing link for Object 71776804433a132362a737d40ffcecde ⇔ Attribute 1733dddb4c22fde72c6ec4b4a59613a3
Processing link for Object 71776804433a132362a737d40ffcecde ⇔ Attribute 85d5417ca938de864fdba40376972119
Processing link for Object 71776804433a132362a737d40ffcecde ⇔ Attribute 649d8318651bafb9dc83f7263500e10e


The Attribute Batching Mini-App demonstrates many methods for batch processing records using Hashtag Markup.

In these examples, Objects can be linked to 2 different types of Attributes, either positive or negative.   Features are provided to link all positive attributes that are currently unlinked,  or unlink all negative attributes that are currently linked.   Those features can be applied to either a single Object, or all Objects.

All records are stored in an SQL Database.   jQuery was used to demonstrate front-end processing.