I can't realise, how to send to user rich messages instead of plain text.
Somebody can help me with it?
At your intent, scroll all the way down to responses. Next to the default, there's a plus button where you can select for which platform you want to add rich messages. If you then go to the 'Add responses' you can select from the drop down menu what your rich response should have (madia, suggestion chips etc) and then add there all the information required.
Related
I'm creating a Django website where I want to implement such functionality.
There will be one Dropdown list and one submit button. When user selects any item from dropdown list - An image according to user selection will be displayed.
ie. There's drop-down list containing names of animals and one submit button. When user selects any animal from list, photo/details of that animal should appear before pressing submit button.
I don't know how to create link between them. Any reference to such work or advice would be appreciate.
Thank you :)
You likely want to use async request with JavaScript here (look for AJAX or JS Fetch API)
Attach it to onchange event of select element and send it's value to django.
Django will have a view that processes this request and returns a JsonResponse with image url.
Alternatively you can load all urls before hand and just select them on page without request, but anyway if you don't want to press button to take change - you need JavaScript.
I am using desktopCapture.chooseDesktopMedia with only ["tab"] option to choose the tab to be streamed. After making the selection, chrome doesn't automatically switch to the selected tab. How can I get the tab ID that was selected so that I can make it active? I only receive a stream ID in the callback.
Good question, but reading the docs seems to suggest you don't get that information in any way, nor can you change the flow to having the user select the tab first and then offering only that tab for capture.
Might be a candidate for a feature request over at https://crbug.com/
I'm wondering if it is possible to send an email in SAPUI5 via a dialog component. I have a dialog box that opens on button press and the requirement is to send a query (with optional attachment) to a email address (a possible of 5 different addresses depending on the option you select for the Subject select component).
Is this possible?
As an alternative option, I have seen the URL helper component which when pressed it loads up a mail client (eg, Outlook) but the business wanted it in a contact form style if possible.
https://sapui5.netweaver.ondemand.com/sdk/explored.html#/sample/sap.m.sample.UrlHelper/preview
On the alternative option is this what you need?
sap.m.URLHelper.triggerEmail("Smith, John <john.smith#sap.com>", "Info Request");
I have created a form using Kentico on-line form and applied the built-in "required" validation on it. Whenever a textbox is empty then a required validation is shown. Now, I have entered a value in the textbox and press tab from the keyboard but the required message does not disappear. I want to remove or hide the message from the form when the user enters a value in the text box before the submit button is clicked.
How to resolve this issue?
I don't recall this being something that Kentico handles out-of-the-box. You'll most likely need to add some custom client-side script for this. Typically - where I work, at Ridgeway - we use custom layouts for forms, as the standard layout is fairly table-rich.
I need a combobox in an Windows MFC application that has a search feature. It should work so that if you start typing something that matches one or more items in the list, the combobox should drop-down and display those items. Kinda like popular ajax-based search boxes on the web
Do you
- know of any control that provides this functionality?
- have a link to information on how to create such functionality myself?
- have ideas on how to do this that you could share?
Provide a handler for the CBN_EDITCHANGE event, your handler willö be called every time the user changes the text in the edit field.
In this Handler, call the CComboBox::FindString() method to see if the typed text exists in any of your combobox entries. If it does, call CComboBox::SetCurSel() to select it.
It's a Win32 api FAQ.
See Adv. Win32 api ng news://194.177.96.26/comp.os.ms-windows.programmer.win32
(you don't need at all CBN_EDITCHANGE. It's automatic with api)
Full access to the edit box of the combo box:
CEdit *pEdit = (CEdit *)pComboBox->GetWindow(GW_CHILD);