Skip to main content

I was recently putting together an example of calling a third party application and wrapping it up in a custom transformer and I thought I'd share a (fun) variation I came up with to demonstrate a point.

Filtering the posts on the Knowledge Center is now a little more functional than it used to be and a few of you will have noticed that the filter options build the URL to a standard format, so of course you can get FME to do that for you too. Quite a few websites use this approach and communicating with APIs is quite similar, so FME lends itself to the task very well.

Given that I'm feeling pretty hard-done-by, that I did post a question on TLAPD (Talk Like a Pirate Day for those land-lubbers out there) and yet I still wasn't granted a "special" Pirate Chief badge. I thought I'd create a small BadgeChecker transformer that incorporates:- Custom Transformer technology - Embedded, though it could be exported and shared. - Attribute hierarchy in the AttributeManager (a feature that is sometimes overlooked).- SystemCaller - A neat tool to initiate a command that can be used to get another program to do something for you. Have a look at @dmitribagh's cool article here for more. - Published parameters - so you can specify a date range within which to look and the name of the author to go and have a look for. The transformer basically checks to make sure that I didn't dream it and that I actually "Asked a question on Talk Like a Pirate Day (Sept 19th)"... give it a try and adapt it to see if you're owed anything. I hope it's a useful demonstrator for someone out there and if a happy by-product is the fact that I get a new badge, then so be it. Of course, I could always "get a life"... but hey, it's Friday!

 

 

As if I didnt have enough reasons to get distracted on a Friday afternoon @1spatialdave


@1spatialdave Fun, I will vote for it and hope you will get yourself a new badge.


hi @1spatialdave good idea.

Lets fun Fridayyy


@1spatialdave Fun, I will vote for it and hope you will get yourself a new badge.

And you did! :-)

 

 


What a fun idea!!


Very creative! 🙂 And I discovered that I actually posted something that day, so I believe I'm owed a badge as well. Well, if the closed moderator's forum counts, that is ;-)


Great workspace idea @1spatialdave, the fun badge process is manual and I'm sorry I missed you!

ye 'ave been granted th' pirate badge


Very creative! 🙂 And I discovered that I actually posted something that day, so I believe I'm owed a badge as well. Well, if the closed moderator's forum counts, that is ;-)

ye 'ave been granted th' pirate badge

 


Great workspace idea @1spatialdave, the fun badge process is manual and I'm sorry I missed you!

ye 'ave been granted th' pirate badge

Ahh haarrggh me hearty! I spare ye the plank!

 

(Translation: Thanks!)

 

 


Beware captains with letters of marque from black princes! They be after your booty. Badges be earned, not pirated from the pirate clan. Aaarggh.


Awesome. In case anyone wants to know, here's the full list of badges:

https://knowledge.safe.com/badge/types.html

Green ones are those we award manually - so let us know if we missed you for any reason. And if you can think of a new badge (that wouldn't take too long to manually check for) please let us know.

There are a couple more date-sensitive ones in case you are wondering...


Reply