Cannot create credentials, when I click the "Create credentials" button in the credentials page in console.cloud.google.com, the page will show a list, "API Key", "OUauth client ID", etc as you can see in my screenshot. I want to create an API Key, but the option cannot be clicked, when i set my cursor to the option, "Navigation menu" tooltip appears, and when clicked, it will show the page menu. How do I fix this? Anyone have similar issue? I'm using chrome, trying in firefox but to no avail.
Related
I have an Azure app that is supposed to query my qna maker bot and return a html table. instead it returns this. I'm following https://microsoft.github.io/slg-covid-bot/docs/telemetry-analytics.html
``` {"attachmentName":"azure_monitor_logs_flow_table_20200702195619.html","attachmentContent":"PHRhYmxlIGJvcmRlcj0iMSIgY2VsbHBhZGRpbmc9IjUiIGNlbGxzcGFjaW5nPSIxIiBib3JkZXJjb2xvcj0iQmxhY2siIHN0eWxlPSJmb250LWZhbWlseTomcXVvdDtTZWdvZSBVSSZxdW90Oztmb250LXNpemU6MTJweDtib3JkZXItY29sbGFwc2U6Y29sbGFwc2U7Ij48dHIgYmdjb2xvcj0iRGFya0dyYXkiPjx0ZCBub3dyYXA9Im5vd3JhcCI+dGltZXN0YW1wPC90ZD48dGQgbm93cmFwPSJub3dyYXAiPktiSWQ8L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+cXVlc3Rpb248L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+YW5zd2VyPC90ZD48dGQgbm93cmFwPSJub3dyYXAiPnNjb3JlPC90ZD48L3RyPjx0cj48dGQgbm93cmFwPSJub3dyYXAiPjcvMi8yMDIwIDEwOjE2OjQ5IEFNPC90ZD48dGQgbm93cmFwPSJub3dyYXAiPmNiM2JkMmYxLTk0ZmItNDE5MC1iZGRkLTA3ZjAyNWJhYTNhMzwvdGQ+PHRkIG5vd3JhcD0ibm93cmFwIj5oaXM8L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+VGhlIFF1aWNrLVBvaW50IGJvdCBjb3VsZCBub3QgZmluZCBhIGRpcmVjdCBhbnN3ZXIgdG8geW91ciBxdWVyeS4gVG8gaW1wcm92ZSBhY2N1cmFjeSwgcGxlYXNlIHVzZSBzcGVjaWZpYyB3b3JkcyBhbmQgcGhyYXNlcy48L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+MDwvdGQ+PC90cj48L3RhYmxlPg==","body":"PHRhYmxlIGJvcmRlcj0iMSIgY2VsbHBhZGRpbmc9IjUiIGNlbGxzcGFjaW5nPSIxIiBib3JkZXJjb2xvcj0iQmxhY2siIHN0eWxlPSJmb250LWZhbWlseTomcXVvdDtTZWdvZSBVSSZxdW90Oztmb250LXNpemU6MTJweDtib3JkZXItY29sbGFwc2U6Y29sbGFwc2U7Ij48dHIgYmdjb2xvcj0iRGFya0dyYXkiPjx0ZCBub3dyYXA9Im5vd3JhcCI+dGltZXN0YW1wPC90ZD48dGQgbm93cmFwPSJub3dyYXAiPktiSWQ8L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+cXVlc3Rpb248L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+YW5zd2VyPC90ZD48dGQgbm93cmFwPSJub3dyYXAiPnNjb3JlPC90ZD48L3RyPjx0cj48dGQgbm93cmFwPSJub3dyYXAiPjcvMi8yMDIwIDEwOjE2OjQ5IEFNPC90ZD48dGQgbm93cmFwPSJub3dyYXAiPmNiM2JkMmYxLTk0ZmItNDE5MC1iZGRkLTA3ZjAyNWJhYTNhMzwvdGQ+PHRkIG5vd3JhcD0ibm93cmFwIj5oaXM8L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+VGhlIFF1aWNrLVBvaW50IGJvdCBjb3VsZCBub3QgZmluZCBhIGRpcmVjdCBhbnN3ZXIgdG8geW91ciBxdWVyeS4gVG8gaW1wcm92ZSBhY2N1cmFjeSwgcGxlYXNlIHVzZSBzcGVjaWZpYyB3b3JkcyBhbmQgcGhyYXNlcy48L3RkPjx0ZCBub3dyYXA9Im5vd3JhcCI+MDwvdGQ+PC90cj48L3RhYmxlPg=="} ```
According to some test in my side, I reproduced your problem. I query the logs in application insight and send it to my email (shown as below screenshot).
In the screenshot above, I use the "Send an email(V2)" action in "Office 365 Outlook" connector but not "Outlook.com" connector.
First we need to make sure the "Chart Type" in "Visualize Analytics query" should be selected as "Html Table". And then, when we put the "Body" into the "Send an email(V2)" action, we need to choose the correct "Body"(because there are two "Body" for us to choose).
Please choose second "Body" and put it into the "Send an email(V2)" action.
If choose the first "Body", you can click the ... icon of the "Send an email(V2)" action, then click "Peek code". We can see it shows as below:
After running the logic app, we will receive the email as you provided.
If we choose second "Body", also open "Peek code", we can see it shows like this:
Run the logic app, it works fine and we will receive the email with html table in it.
So please choose second "Body" and check the "Peek code" if you choose the correct "Body".
I make a chat bot on Azure, check on webchat test.
Webchat test is successful, as shown in the image below.
webchat test is success
For publishing this chat bot to Direct Line.
I click "constitute Direct Line channel" button in Channel category.(shown as below image)
click "Direct Line Channel" button
Clicked this button, transited ti error page.
This error page says "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.".(shown as below image)
enter image description here
This error also occur at other publishing button (teams,cortana,Slack...)
I cannot resolve this error.
Please tell me how to resolve this error.
Thank you.
Today, I click "Direct Line Channel" button, it work fine.
I think this matter is occuered by temporaly link error.
I following https://developers.google.com/google-apps/calendar/quickstart/nodejs#step_3_set_up_the_sample
But it not worked and output below this:
var clientSecret = credentials.installed.client_secret;
^
TypeError: Cannot read property 'client_secret' of undefined
at authorize (/Users/prangyy/myApp/quickstart.js:32:43)
at processClientSecrets (/Users/prangyy/myApp/quickstart.js:21:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)
Change lines 34-36 in quickstart.js to:
var clientSecret = credentials.web.client_secret;
var clientId = credentials.web.client_id;
var redirectUrl = credentials.web.redirect_uris[0];
(There's an error where they've used credentials.installed instead of credentials.web, which is what shows up in the client_secrets.json file.)
Try checking your client_secret.json in the Node.js Quickstart.
It should contain clientID, auth_url, token_uri, auth_provider_x509_cert_url, client_secret, redirect_uris, javascript_origins.
{"web":{"client_id":"YOUR_CLIENT_ID","project_id":"google.com:my-project-1231","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"YOUR_CLIENT_SECRET","redirect_uris":["YOUR_REDIRECT"],"javascript_origins":["YOUR_JAVA_ORIGIN"]}}
if not yet, follow this to get your client_secret.json file
Use this wizard to create or select a project in the Google Developers Console and automatically turn on the API. Click Continue, then Go to credentials.
At the top of the page, select the OAuth consent screen tab. Select an Email address, enter a Product name if not already set, and click the Save button.
Select the Credentials tab, click the Create credentials button and select OAuth client ID.
Select the application type Other, enter the name "Google Calendar API Quickstart", and click the Create button.
Click OK to dismiss the resulting dialog.
Click the file_download (Download JSON) button to the right of the client ID.
Move this file to your working directory and rename it client_secret.json.
I hope this helps. Goodluck :)
No need to modify the original code if you check 'Other' (as said in the tutorial) when you choose your Application type in the client ID creation page (step 4 of your pasted text)
I'm working on Rails(3.1.3) with Netzke(0.7.3).
I very new for Cucumber.
add_account_for_user.feature
Feature: Add Account For User Feature
In order to add login account
As an Administrator
I want to add login account for other role
Scenario: Adding Login Account
When I login as an Administrator
Then I should be on admin page
When I click on 'Administration' button at right upper of page
Then I should see 'Administrator Management'
And I should see 'Add' button in Administrator Management toolbar
When I click on 'Add' button
Then I wait 10 seconds # for check what happen
The problem is at When I click on 'Add' button step.
It pass but not working correctly. (It should fire event onAddInForm)
It's hanging in loading and do not show new windows panel.
my_steps.rb
Then /^(?:|I )click on '(\w*)'(?:|.*)$/ do |label|
click_link_or_button(label)
step "wait for the response from sever"
end
When /^(?:|I )wait for (?:.*)$/ do
page.driver.browser.execute_script(<<-JS)
JS
end
Found the solution!!
The solution is try to collect Component that you use. and then call that action directly.
When /I press 'Add' button in the '(\w*)' grid$/ do |grid_name|
page.driver.browser.execute_script <<-JS
var containerComp = Ext.getCmp("main_container");
var grid = containerComp.down("#"+"#{grid_name.underscore}_grid");
grid.onAddInForm();
JS
end
But I still don't understand why it not call onAddInForm after click.
I am trying to send an email in the button click event in the webpart.However, the email sending is failed and error is logged in both sharepoint logs and event viewer of the machine.
The error is : Cannot connect to SMTP host
Outgoing email settings in central admin is already configured. Alerts are also working fine.
Below is my code:
StringDictionary headers = new StringDictionary();
headers.Add("to", "someone#abc.com");
headers.Add("from", "MySharePointEmail#myfatblog.co.uk");
headers.Add("subject", "How to use SendEMail from SPUtility");
headers.Add("content-type", "text/html");
string bodyText = "This is the body of my email, in html format.";
SPUtility.SendEmail(SPContext.Current.Web, headers, bodyText);
Thanks in advance
Try running your code without the System Account (if you are).
Try also disabling the LoopbackCheck:
To set the DisableLoopbackCheck registry key, follow these steps:
Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Right-click Lsa, point to New, and then click DWORD Value.
Type DisableLoopbackCheck, and then press ENTER.
Right-click DisableLoopbackCheck, and then click Modify.
In the Value data box, type 1, and then click OK.
Quit Registry Editor, and then restart your computer.
I got that fixed. Anti virus was causing the problem. But i am wondering how is SharePoint able to send mail then?