Genii Weblog

Sorted lists of bullets

Fri 22 Jan 2021, 06:51 PM



by Ben Langhinrichs
Inline JPEG image
 
 
I finally found time to put together two examples of "Fancy tricks" to do with Exciton Boost's REST API, and it is Friday afternoon, so I don't want to post it and have nobody notice. I'll post that Sunday night or Monday morning, but for now, let me leave you with a simple challenge. How would you use Domino Access Services or other HCL code to take the multiple rich text fields above and turn them into a sorted JSON array of strings for all the bullet values? It can obviously be done, but probably not as simply and elegantly as with Exciton. It took me about a minute to write out the request for this and far less than a second to get the following result. I'll show the request along with my post on Monday.
 
{
    "@unid""524C08BF648BE77A85257B8600798F5B",
    "bulletsSorted":
        "Attached parking",
        "Automatic garage door opener",
        "Basement",
        "Bedroom 2 is 15.00 x 14.00",
        "Bedroom 3 is 15.00 x 15.00",
        "Bedroom 4 is 16.00 x 13.00",
        "Central air",
        "Central vacuum",
        "Cul-de-sac location",
        "Dining Room is 15.00 x 14.00",
        "Dishwasher",
        "Eat-in kitchen",
        "Finished basement",
        "Fireplace in great room",
        "Forced air heat",
        "Formal Dining Room",
        "Foyer",
        "Full basement",
        "Garage spaces: 3",
        "Garbage disposal",
        "Great room is 23.00 x 22.00",
        "Great Room",
        "Heating: Gas",
        "Inground pool",
        "Irregular lot",
        "Kitchen is 23.00 x 18.00",
        "Library is 12.00 x 12.00",
        "Lot acreage is: 0.2650",
        "Master bedroom is 18.00 x 15.00",
        "Microwave oven",
        "Office",
        "Office is 16.00 x 15.00",
        "Other Room is 21.00 x 18.00",
        "Oven",
        "Patio",
        "Paved driveway",
        "Porch",
        "Property style: Colonial",
        "Public sewer",
        "Public water",
        "Rec Room is 30.00 x 12.00",
        "Refrigerator",
        "School district: Beachwood CSD",
        "Security system",
        "Smoke alarm",
        "Sun Room",
        "Sun Room is 17.00 x 16.00",
        "Warranty included",
        "Wooded lot",
        "Zoned heat"
    ]
}
 

Copyright © 2021 Genii Software Ltd.

What has been said:

No documents found

Have your say:

Name *:
E-mail:
e-mail addresses will not be displayed on this site
Comment *:


<HTML is not allowed>
Linking: Add links as {{http://xxx|title}}, and they will be activated once approved
Blocked? Unable to post a comment? Please read this for a possible explanation...