Hello, How do I set Braze `enableHtmlInAppMessages...
# support
g
Hello, How do I set Braze
enableHtmlInAppMessages
and
allowUserSuppliedJavascript
through rudder stack Js SDK?
👀 1
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
g
@quiet-wolf-72320 any help would be really appreciated 🙏
q
I am checking this one but have you tried sending it as 1) [loadOptions] as {
enableHtmlInAppMessages: true
allowUserSuppliedJavascript: true
} In
rudderanalytics.load(WRITE_KEY, DATA_PLANE_URL, [loadOptions]);
2)
Copy code
rudderanalytics.ready(() => {
  // Enable HTML in-app messages
  rudderanalytics.setOption('brazeEnableHtmlInAppMessages', true);

  // Allow user-supplied JavaScript
  rudderanalytics.setOption('brazeAllowUserSuppliedJavascript', true);
});
I will get back with more details but can you give it a try above in meanwhile.
g
ok I will give it a try, thank you!
Hey @quiet-wolf-72320 it doesn’t work, any other suggestions?
q
Let me take a look, will keep you posted
@gray-airplane-11074 Apologies! it seems that the implementation to support these configs are not yet done. We need to take a look at the current braze implementation if they support it, the solution will depend on that. We will keep you posted when we make some progress on it.
g
Thanks @quiet-wolf-72320 these config are already supported in Braze initialisation and they are also set in the RudderStack JS SDK but set always to false. I would like to change the value to true.
q
The support to set these values is not available yet. We have put it in the backlog and it’s gonna take some time for us to prioritize it.
g
Alright, thanks Please keep me updated 🙂
test