Facing error while I try to enable Dialogflow cx messenger, attaching screenshot for your reference on the actual error message.
I tried this in two different projects within same account. Below is the error message:
"Invalid value at 'type' (type.googleapis.com/google.cloud.dialogflow.v3alpha1.Integration.IntegrationType), "[INTEGRATIONS] START_INTEGRATION_START""
Any help would be really appreciated?
Please try using the following workaround:
On the Dialogflow CX Agent page, go to "Manage" —> "Integrations".
Click "Connect" in the "Dialogflow Messenger" panel.
Choose the environment in the drop-down list to the left of the "Enable"
button.
Open developer tools (this is how to do this in different
browsers).
Go to the "Network" section of the developer tools.
Click "Enable" button in the "Dialogflow Messenger" modal dialog box.
In the network log, find a request that has a name starting with
"integrations:start" and status 400.
Right-click on the "integrations:start" request and select "Copy as cURL" item in the pop-up menu ("Copy" —> "Copy as cURL" in some browsers). If you're
on Windows, you can select "Copy as PowerShell" instead.
Open a new window in the text editor of your choice and paste what you've just copied in the browser.
In one of the last lines, find and replace [INTEGRATIONS] START_INTEGRATION_START with DIALOGFLOW_MESSENGER.
Copy everything you have in the text editor window and paste it into the terminal — or PowerShell — command line.
Hit "Enter". You should see something like this:
{
"integration": {
"name": "projects/foo-bar-1234/locations/global/agents/ab12cd34-ef56-7890-12ab-cd34ef567890/integrations/abcd1234-ef56-7890-ab12-cd345678fe90",
"state": "ACTIVE",
"dialogflowMessengerPayload": {},
"type": "DIALOGFLOW_MESSENGER"
}
}
Now, refresh the page in the browser.
Click "Connect" in the "Dialogflow Messenger" panel.
Copy the code in the dialog box and paste it into the source code of the webpage(s) where you'd like to have the Dialogflow Messenger widget.
Related
I have an xpage with a "File Download" control in it, binded to a data source which is pretty basic. When its displayed and I click on an attachment in the list from a computer / laptop, it downloads it as expected (When you click on the downloaded thing in the bar below the browser, it opens the attachment in the appropriate application).
But when I use this feature from mobile (phone or a tablet), the attachment is opened in the same page directly. Only when I click on it for a longer period (I'm using an IPhone in this case), I have the option to "Open in New Tab" (as if I "right-clicked" in desktop).
Now what I want to do is, when I click on an attachment from mobile, I want the default action to open it in a new tab.
How can I do this?
This answer put me in the correct path but I'm not quite where I want to be.
This answer works when I extend the Bootstrap3_flat theme (which is the selected application theme in xsp.properties) and add the required code. Then when I use the file download control, attachments are opened in new tab by default.
But in xps.properties of the application, I am selecting "Mobile default" for the mobile theme. So in order to extend "Mobile default" I guess I have to extend "iphone" but when I try that, my application is not loaded correctly.
How can I extend "Mobile default" theme correctly for my application to load correctly?
I am debugging a react app. If I click on this link given by the terminal, IDE Atom is Opening. How can I change it to another IDE like VS code for example?
Atom and VScode are text editors. If you go to the file SingleVariation.js from the link and right click on it you can select get info. This opens the get info window shown below.
About halfway down the window is a section designated as "Open With". This determines which application will open a file. The menu in that section may show Fetch. That just means it's looking for apps that could be used to open that file. When the search is finished you can pull down that menu and set it to VScode. After that click the button that says "change all". Now whenever you double-click on a .js file, it will open in VScode.
In Chromium / Chrome I can use "Inspect element" to view a list of the current page's resources, including JS, images, videos. Basically, all files that have been downloaded in service of that page.
When I "Inspect element" in Firefox I can't find an equivalent. Am I missing it, or is there another way to access the list of files?
From the Tools menu, pick Page Info
In the Page Info window, select the Media tab
...the list of files downloaded for that page will appear under the Media tab.
In order to view resources like js or css files, you would select Network in the developer tools panel to open the Network Monitor. This will show all resources downloaded by the page (including images, media etc.)
From there you can narrow your search based on the type of resource you're looking for by selecting the appropriate tab at the top of the window. To inspect its contents, select the resource from the list and click the Response tab in the window that appears to the right.
On Windows, press 'F12' to open developer tools then select 'Network'. Under 'Network' select the filter labelled 'Images'. Reload your page and the images will be listed there along with their links. You can open them in a new tab and save them on your device.
After opening the Inspect Element console; Look for the Toolbox options at the TOP RIGHT CORNER (highlighted in BLUE as shown in the Picture link below)
Click on it and under the "Default Firefox Developer Tools" ; Click on the ones that you want to get displayed. (As per the link you gave for the Google Chrome that displayed the "Resources" - the equivalent in Firefox would be "Storage", as shown below
Toolbox Options--> Storage
Hope this helps :)
Using SQL Server 2012 reporting services and the report manager URL I clicked down arrow next to a report item in "Home".
A pop up menu does not get displayed. The cursor changes to a pointing finger but I don't know why the menu is not displayed so I can assign a "Browser" role to a user of this report.
I'm using the Chrome browser.
By the way, this is the first time trying to do this.
If you need more information, please let me know.
Usually this issue is seen in Firefox or Chrome. You have a couple options:
Use a Firefox addon or Chrome extension that embeds Internet Explorer in the non-IE tab
Use Internet Explorer
The plugins I linked above are just ones that I have used, feel free to search around for one that meets your needs.
I embed the default Internet Explorer in my win32-C Application via COM/OLE.
I display a web page having a link (anchor tag) to save/open a file.
When i click on the link, It does some processing in the background but does not give me a dialog box asking to save or open the file. From Fiddler I come to know that it is writing to the cache but not able to access it or show any popup.
I expect to see the dialog box asking me to either save or open the file (default)
If i do this from the IE browser then everything works fine.
EDIT : I tried a sample code in which I do get to see the Dialog Box providing me with the option of saving, opening the file although tallied everything with my code I still fail to see the box.
I was thinking of the Modeless Dialog Box issue but I can see a Message Box in my code. So modeless dialog box is not disabled.
Not able to get how to get it to work.
(Note: Please see the attached images)
EDIT: I edited the The EmbedBrowser Function in my code, my browser was not given a pointer to my IOleClientSite object
New Code :- http://paste.ubuntu.com/1062010/
But problem persists!
I figured out the issue.
The interface DWebBrowserEvents2's invoke method was implemented to not display the File download Box while downloading.
Modified it to allow the same.