-
Can I open an external Code snippet: # Create the URL for support email
support_email_path = f"mailto:h2o.snowflake@h2o.ai?subject=Snowflake%20Wave%20App%20Error%20Support&body=Tab:Score.Error:{err}."
# Display error message, and buttons on the page
q.page['body_right'] = ui.form_card(box='body_right', items=[
ui.text_xl('Score'),
ui.message_bar('error', f'Error: {err}'),
ui.buttons(justify="center", items=[
ui.button(name='refresh_score_view', label='Start Over', icon="Refresh", primary=True),
# EXPECTATION: Support button executes the url / support email path
ui.button(name=support_email_path, label='Support', icon='Help')
]),
]) |
Beta Was this translation helpful? Give feedback.
Answered by
mturoci
Jan 4, 2022
Replies: 1 comment
-
This should do the trick: ui.link(label='Send mail', path='mailto:...', button=True) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
azim-b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should do the trick: