Can I use deep links for Google Data Studio report and/or pass data source parameters in the report URL? - google-data-studio

Is it possible to build one Google data studio report (i.e., template) and use a URL that links it to a specific data-set or defines a hidden filter that creates a sample of a larger data set?
I understand Data Control allows this for users operating under the same Google domain.
However, I want to provide multiple university student teams with their personal information but not allow the other teams to see or filter for information that they should not see. Ideally I could simply share a customised URL with each team that takes care of this filtering/sampling.
Any guidance appreciated - many thanks!

You can do this with custom bookmarks and URL parameters.

Related

Google Data Studio - User Specific Dashboard

We have a Health Information system where about 75+ users login to the system from different healthcare facilities and register patients for different health care services. I wanted to create aggregated data dashboard using google data studio for specific health facility where they can see ONLY details related to the their institution. Is there way to create such customized dashboard in data studio ?
Thanks in advance
Yes, it is possible. See updated instructions:
Add a filter to the table. See attachment #1.
Set up parameters for your filter as shown in attachment #2. Click Save.
As a result you will see, that your table shows data limited to one facility. See result here.
Repeat the process for all facilities on separate reports.

Firebase Realtime array populate div

Okay so I’m need guidance on where to start.
What I want to do is upon clicking a button in my web app which will be labelled “search” the web app will connect to my realism database and search the data base for the “search criteria” and the once found all matching cases it will create div blocks with the information inside it, in a list view and assign the ID of the div to the UID it gets back from the database.
database:
Users
--> Country
---->State
----->City
------>Post/ZipCode
------->UID
--------> Users informantion
Welcome to StackOverflow!
A great place to get started is the Firebase Realtime Database doocumentation or searching for Firecasts on YouTube (linked below).
As requested, here are some questions to ask yourself to get started and help scope out and define your new Firebase project.
What language are you going to use?
Are you planning on using any frameworks/libraries? e.g. For Javascript, these would include things like jQuery, Polymer, and React
What information are you storing in your database? e.g. user profiles, private user data/settings, public indexes, username lists, etc.
How is your database structured?
What data is being searched? The entire database? Values in a certain location?
What data needs to be displayed in your view?
Is the data accessible for just the current user or is it a public database that anyone can use?
What search criteria will be used? Is it just one filter at a time or many?
The answers to these questions aren't set in stone, but are to help you start thinking about the future of your project. They can be changed at any time as this isn't SQL where everything has to have its own schema.
If you intend on using "advanced searches" where you'll filter by multiple parameters at the same time, consider using Cloud Firestore instead.
I recommend looking at some Firecasts to help guide you through these questions. Here are some links to them:
Firebase YouTube Channel
Video: Getting Started with the Firebase Realtime Database on the Web
Playlist: Firebase on the Web

Tableau: How to get an overview of who have accessed a Dashboard?

I am trying to create an overview of the users who have accessed a particular Tableau Dashboard. Preferably, the overview should display statistics of the users' activity on a country level, departmental registration number, region, and the individual user-id of those who have accessed it. I have the data on a local database. However, I cannot find any neat solutions to this online.
I think you can use Tableau Server.
I'm sending you the link http://onlinehelp.tableau.com/current/server/en-us/adminview_bucket.htm.
You have the option to use Administrative views pre-built or get it customised. All the information should be in the right-hand side.
Hope you find this useful.
Thanks

Framework Advice

I have a site that was done in CakePHP but I want to redevelop to give it a fresher feel.
The object of the site is to create a document the user can download or email to them. The user will select options from a drop down menus from data stored in the DB, the user is given many forms and options in about 5 steps, and the end product is a file (which I would like to be in word, pdf, txt...something the user will select).
The user will also have the option to select the look of their document from various layouts.
Main functionality required is the ability to spell check, create a preview, create a document in various formats.
Thanks for the advice!
By seeing your posted question, I would recommend angular 4 alongwith firebase. Checkout Firebase by Google Firebase will provide you the option to mail documents and show dbs etc. very well.

How to I access reports programmatically in SalesForce using Apex

I'm trying to write an app on the SalesForce platform that can pull a list of contacts from a report and send them to a web service (say to send them an email or SMS)
The only way I can seem to find to do this is to add the report results to a newly created campaign, and then access that campaign. This seems like the long way around.
Every post I read online says you can't access the reports through Apex, however most or all of these posts were written before Version 20 of the API was released last month, which introduced a new report object. I can now programmatically access info about a report (Such as the date last run etc) but I still can't seem to find a way to access the result data contained in that report.
Does anyone know if there's a way to do that?
After much research into it, I've discovered the only way to do this at the moment is indeed to scrape the CSV document. I would guess that Conga etc are using exactly this method.
We've been doing this for a while now, and it works. The only caveats are:
Salesforce username / password /
security token has to be shared to
the app connecting. If the password
changes (and by default it is changed
every 30 days or so) the token also
changes and must be re-entered.
You have to know the host of the account, which can be difficult to
get right. For instance while most european accounts would use emea.salesforce.com to access CSV, our account uses na7 (North America 7) even though we're located in
ireland. I'm currently sending the page host to the app and parsing it
to calculate the correct subdomain to use, but I think there has to be a
better way to do this.
Salesforce really needs to sort this out by supplying an API call which allows custom report results to be exported on the fly and allowing us to use OAuth to connect to it. But of course, this is unlikely to happen.
In the SalesforceSpring 11 update, it seems you can obtain more informations about the Reports:
As stated in the API for Report and ReportType, you can access via Apex the fields used in the query by the Report, reading the field "columns", as well as the field used to represent the filters called "filter".
Iterating through this objects, should allow you to build a String representing the same query of the Report. After building that string you can make a dynamic query with a Database.query(..) call.
It seems to be a little messy, but should work.. (NOT TESTED YET!)
As header states, this works only with Custom Reports!
Just to clarify for fellow rookies who will find this, when the question was asked you could access your report data programatically, but you had to use some hacky, error prone methods.
This is all fixed, you can now access your reports via the API as of Winter '14.
Documentation here - http://www.salesforce.com/us/developer/docs/api_analytics/index.htm
Go to town on those custom dashboards etc. Cross posted from the Salesforce Stack Exchange - https://salesforce.stackexchange.com/questions/337/can-report-data-be-accessed-programatically/
But Conga (appextremes) do this in their QuickMerge product, where the user specifies the report Id, and the apex script on the page runs the report to extract the results for a mail merge operation.
the v20.0 API added metadata about the reports, but no way to actually run the report and obtain the results. If this is a standard report, or a report you've defined, you can work out the equivalent SOQL query for your report and run that, but if its an end user defined report, there's no way to do this.

Resources