-1

I have a requirement to create Custom SDK Block.

Wondering if anyone of you has done it before if so how to do it.

Also it would be great if you share any reference document for this. (edited)

3

I've developed a couple of Custom Blocks. It's pretty straightforward and the methods are very easy to use. The best starting point (aside from reading the SDK documentation) would be to install a working demo app so you can see it in action and review the code. Here are a couple of public repositories that you should clone:

  1. Sample Block without SSO
  2. Sample Block with SSO (i.e. retrieve JWT to enable you to use SFMC API)

Note that the second app requires additional configuration of your installed package (which is not explained in the repo readme). I would encourage you to watch a video that walks you through installing this app this video (fast forward to 11 mins in).

  • Thank you Harper. Could you please provide me video that how we can implement the custom block in content builder and drag and drop in email template step by step.It would be great for me to understand in depth. – Ajay Sharma Feb 10 at 8:58
  • Hey Harper, I have followed the same step and created the custom block in content editor it is drag and drop to email template but it is not showing me map and other function related details. Could you please let me know the exact problem here i am facing. – Ajay Sharma Feb 10 at 13:22
  • Did you implement the sample block without SSO (Google Maps App) or the one with SSO (Content Selector App)? I've tested both and they work. If you installed the one without SSO, you can review the video at vimeo.com/265518897. The other video link I provided explains how to configure the SSO version of the app. – Eliot Harper Feb 10 at 14:06
  • Thank you! Harper it help me alot video and comment. I am using 2nd option and marketing cloud app link i am using while adding component is incorrect, So it is not working. Could you please provide me short information about SSO and if possible can you provide me a more custom block sdk example. It might help to get more depth into it. – Ajay Sharma Feb 10 at 16:52
  • If you follow the video carefully, you should be able to reproduce this environment. Pay close attention to the configuration of the Installed Package and setting your Heroku environment vars. If you still have issues, you can schedule a call and I can assist further. – Eliot Harper Feb 10 at 16:55

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.