I want to be able to retrieve my dashboard resource through analytics api but setting the query parameter runningUser as another user id, that way get different result depending on the user running the dashboard. From salesforce documentation analytics api dashboard results resource looks like it should work but it doesn't, each time I make a request the dashboard is ran by the user set from the force.com platform UI without respecting the query param.
Endpoint: /vXX.X/analytics/dashboards/dashboardID?runningUser=runningUserID&filter1=filter1ID&filter2=filter2ID&filter3=filter3ID
Did someone face the same issue? maybe I am missing something.
Preview config from the dashboard edit page, mark the following checkboxes : 'The dashboard viewer' and 'Let dashboard viewers choose whom they view the dashboard as' that way the query parameter 'runningUser' will take effect when running dashboards.
Related
I need some help and guidance related to sending data from SPLUNK to Salesforce.
Basically, I am trying to extract few features and information from Splunk dashboard and I need to send that data to salesforce while creating a case. Such that the case is created with all those details automatically with the single click of the submit button from SPLUNK dashboard.
I read/tried the SPLUNK add on for Salesforce, however, this is more about pulling the salesforce data to SPLUNK but not about pushing the data from SPlUNK to salesforce.
Could you please guide me, how can we achieve this?
You can use Splunk Alert Actions to trigger an action against a Salesforce REST endpoint or webhook.
Refer to https://docs.splunk.com/Documentation/AddonBuilder/3.0.2/UserGuide/CreateAlertActions if you wish to use the Splunk Add-On builder, or https://docs.splunk.com/Documentation/Splunk/latest/Alert/Configuringscriptedalerts if you are comfortable coding it yourself.
A summary of the process can be found at https://simonduff.net/splunk_alert_script/
Can you share what Salesforce API you are trying to interact with and what information you wish to provide it. It may just be as simple as creating a particular URL, rather than using REST to post information to it.
I'm creating some Log Analytics to collect data from Event Hub and Application Insights.
Can Log Analytics reports be viewed by users outside of Azure? For example, can I give to my client a dashboard or report? If not what is the solution?
Can Log Analytics reports be viewed by users outside of Azure?
In short, Yes.
To create a dashboard, select the New dashboard button next to the current dashboard's name.
When you create a dashboard, it is private by default, which means you are the only person who can see it. To make it visible to others, use the Share button that appears alongside the other dashboard commands.
Then go to the Log Analytics portal, enter the query Statement to return record and display in a visual chart.
Finally, pin this to the shared dashboard created earlier by selecting Pin chart to your Azure dashboard button from the middle-right corner of the page.
For more details, you could refer to this article about how to share dashboards of Log Analytics data.
To share a dashboard and be able to add others to be able to share it must be an Owner on the subscription level.
Once you have shared a dashboard, use the Unshare option to change permissions on that dashboard. Clicking on Unshare brings up a new view on the right side where you can now choose Manage users.
Summary: To effectively share and control who has access to your shared dashboard you need owner rights on the subscription. When you want to change who can see your shared dashboard use the Unshare option. Finally, you need at least reader rights to the OMS workspace, contributor rights in Azure to Log Analytics, and reader access to the dashboards resource group to view the various objects on your shared dashboard.
Please refer to this article.
I am trying to fetch data using the Instagram API endpoints. Steps that I have followed
1. Register the client app.
2. Got the access token.
3. I am using this access token through out the url endpoints.
Ex. to get the data for recent media I am using this url endpoint: https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN
However as I am in Sandbox mode, as per the documentation I get only the recent 20 media. Whereas my account contains in total 291 media.
Problems that I am facing:
Not able to get next_url in the paginationpart.
Usage of min_id and max_id in the url does not respond to any changes in the output or the data i.e fetched (Still get only 20 records/media)
Ex: https://api.instagram.com/v1/users/self/media/recent?access_token=XXXXXX&min_id=xxxxxx_xxxxx&max_id=xxxxxxx_xxxxxxx
Can anybody provide a solution as to how exactly I should get all of my historical data ?
You're in the sandbox mode so there's no way to achieve what you're trying to do before your app has been reviewed and approved (and gone live). From Instagram API documentation:
After your app has been reviewed and approved, you are ready to make it available to the general public. To switch your client from sandbox to live mode, you can use the button on the top section of the configuration screen for your app. When you are live, any Instagram user will be able to authorize your app, but you will have access only to the permissions that you were granted during the review.
Well, maybe you should try this library that allows you to scrape public info withou auth (client_id or access_token): https://github.com/raiym/instagram-php-scraper
$medias = Instagram::getMedias('kevin', 150);
It has been almost a month and I couldn't figure this out.
I am developing a social network application and I want the users to be able to log in via their Twitter and Facebook account Like the screenshot below:
The Facebook is done, and I am stock with the twitter, Note that these pictures are actually set as a buttons.
What I want exactly is:
The user can be able to login (sign up) on the application using their Twitter and I will retrieve the basic information from Twitter API "Name,Username,Profile picture" in my application and store them in my database.
Note: I am using Parse and I already have a table call user.
Please help me :'(
It sounds like you haven't tried anything with Twitter yet.
If this were my code, I'd probably use the Twitter API to login, which they introduce you to here.
Or you can use one of the handy Objective-C libraries they've listed here
Writing an android widget to display the most current Google checkout ending balance and can not figure out how to get this number directly. I have dissected the page but don't understand how the number is generated. I can gain access through a simple browser interface and view my daily ending balance but cant pull that single number for display on the widget. Any help would be grateful. Thanks.
There currently aren't any Authorization APIs to request balance.
In order to get this information, you would need to request the Google login credentials from the user which is something that Google probably doesn't want you to do(the reason why client login was deprecated).
I can't think of a great solution to this problem with out Google enabling an OAuth2 API.