How to schedule a Snowflake Dashboard share over the email - snowflake-cloud-data-platform

The ask is to share the Resource Monitor/ Credit Utilization dashboard among the team everyday over the email. How can we schedule it?

Related

Create role specific user for viewing / using Snowflake dashboard

I'm new using Snowflake and I wanted to know if it was possible to create custom roles / users for only viewing and using snowflake dashboards, so no access to the databases, tables and other features.
Some context, I'm building a dashboard showing some logs, stats and metrics regarding running applications I have a role allowing to use all features of snowflake and want to create roles / users to only access the dashboard and it's features.
So I wanted to know if there is already some predefinid roles or privileges for that otherwise the best practices for it.
Thanks
I had an answer on the snowflake community : https://community.snowflake.com/s/question/0D5Do00000CF3gJKAT/create-custom-roles-privileges-for-the-use-of-dashboards
So I created a role in Snowflake:
DashboardAdmin (granted select on the concerned objects)
DashboardAdmin is used to create and share (using the sharing dashboard feature "view only") to other users with the role and can view the dashboard without being able to edit it and the requests.
And only the owner of the dashboard can edit it

Can I combine private publishers and public subscribers?

Is it possible to configure Google Cloud Pub/Sub so that you can have any number of anonymous subscribers to a topic reading messages while the content of the published messages is controlled by an authorized publisher with an account on Google Cloud?
For example, let's say I'm building an application that publishes GOOG stock ticker price every second. I want anyone on the internet to be able to subscribe to my application to get the stock price. However, no applications except my own should be allowed to publish the price. I need to understand if this is possible.
It is possible to setup this kind of message distribution scenario using Google Cloud Identity and Access Management (IAM). Once the topic is created (e.g. /topics/goog), the topic needs to be setup with IAM roles/pubsub.publisher permission for your application's account. This can also be a IAM service account for your application.
Next, you will need to create a subscription for the /topics/goog topic (e.g. /subscriptions/goog) and configure the IAM permissions for the subscription. You should give IAM allUsers permission to the /subscriptions/goog topic.
Once this configuration is setup, then only the authorized account will be allowed to publish to /topics/goog and any internet connected user will be allowed to pull messages from /subscriptions/goog

Google Calendar APIs for Apppointments

I am building a booking application which requires a calendar for each asset which can be booked for a given time slot. my aim is to assign a calendar to each resource and manage their availability, booking , conflict management.
is this possible? to create unlimited calendar with one account and name each calendar with resource?
how to go about the same?
Thanks
yogesh
I'm not sure if you can create an unlimited calendar with one account. AFAIK, as stated in this tutorial it is possible for an "app to allow your users to schedule/reschedule Calendar events using one of your Google calendars, you I don’t need the users to authenticate themselves with Google.What you need to use is the Google Calendar API with a service account."
Try the suggestion in this forum, to enable your user to create an event to multiple calendar make your user's email as a value in the attendees this will make your authenticated user be able get the events to their own calendar.
You would create your own implementation for managing availability and conflict management.
Hope this helps.

SalesForce.com sandbox guest login

I have a SalesForce.com account that I use for demos. In many cases, I need the users (anyone on the web) to be able to browse the tables without making any changes.
Is there a way to make the tables public or create a guest account?
You can add a new user and create a special permission set to only allow read access. Dev orgs come with two users, but you can deactivate/re-activate users to get around the limit. Or ask SFDC support to add a few more users to your dev org.
There are several places User log-in time and date are logged so you can track them.

Session Management in salesforce

We are trying to build one simple website using force.com sites.Here User logged into website and need to perform different actions by moving to different VF pages.
We are facing a Problem to maintaine Session of particular user. We need help regarding how to maintaine session for particular user.
Kindly give your help. Please provide any sample code.
Thanks.
You can't ;)
Think about it, you can store usernames/passwords in your data objects and if they allow you to login and maintain a session for that user and use it to walk around apex pages and builtin forms why would you buy a salesforce license? You could operate a 1000 employees rig with just one administrative license and a site URL. For that reason salesforce does not allow you session control, it grants you one when you buy and expense a license.
For sites, you have to purchase either Customer Portal license or volume-based High Volume Customer Portal set and then use those to "promote" a contact into a login user with the above license. Then, when that user logs into site it has its own session.
This document http://wiki.developerforce.com/index.php/Authenticating_Users_on_Force.com_Sites might be of great help.
This tutorial shows you how to authenticate users on Force.com Sites. It provides a description of Customer Portal, which is needed for the authentication, and shows you how to set up such a site and process to allow site visitors to become authenticated users.
The points on customer portal are correct, and you have to pay for these licences. If you build your own auth on Force.com Sites and salesforce.com finds out they'll be very unhappy. That said you can still do it using cookies (http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm) but it's not perfect because it's client-side.
I highly recommend that you steer clear of this approach though. You're better off building your UI layer on another platform (Google App Engine or Heroku) and using web services created on the Force.com platform through that UI.

Resources