Search the Community
Showing results for tags 'google'.
Found 4 results
I just started using Caspio this week. I have a simple database project that I would like to share only with specific google users. I have successfully created a Tabular DataPage Report that is configured on the Access and Security section to Restrict Access by Requiring a Connection. The connection is successfully configured to use only Google ID Services. When I do this, any authenticated google/gmail account can be logged into my DataPage. That part works. Ultimately, I would like to restrict the access to only specific google accounts. I can't seem to find any documentation on how to get that to work. I have tried to instead create a new Authentication. One that is configured with a Setup option of "Custom" and a User Validation Method of "ID Services Only". Then I enabled only Google ID Services, and selected by Authentication Data Source (table) to use the "social login field" of Username (as well as entering the same Client ID & Client Secret that worked in the Connection I created). But I cannot log in to the database with any of the accounts I added to the Authentication Data Source. and I've edited the DataPage's Access and Security to use this new Authentication (rather than the Connection). But when I try to authenticate, the Google login screen appears, and it accepts my passwords, but just returns me to the Caspio login page with the message "Unknown user. Contact the app administrator for assistance." at the top. So my suspicion is that something's wrong with the record data in the authentication table I'm using as the data source. It has only four fields: Username Text(255) Password Password Email Text (255) Name Text (255) For example, say I have an account with the email of email@example.com I am using the Username field as the Authentications "Social login field" and I've tried populating that field with all the variations I can think of: "bill.smith", "billsmith", "billsmith.gmail.com", "firstname.lastname@example.org" but no matter what that contents, I still continue to get the "Unknown user. Contact the app administrator for assistance." message, after logging in successfully to that account. The Google ID Services seems to be working, but the the Caspio Authentication part doesn't. So I'm stuck. Any ideas how to make this work?
I wanted to clarify this question from another post here in the hopes a Caspio person will see this and resolve the issue. It would be extremely helpful to be able to push a new calendar event from a Caspio Submit (or Update) datapage to google calendar. I found a post that uses the example below to open Google Calendar and populate a new event's fields with example data. This creates a button that pushes it all in the url: <a class="btn btn-primary btn-xs" href="https://www.google.com/calendar/render?action=TEMPLATE&text=Lunch%20with%20Stripe&dates=20161116T120000Z/20161116T140000Z&details=https%3A%2F%2Flondon.techhub.com%2Fevents%2Ffounders-lunch-5&location=TechHub%20London&sprop=&sprop=name:" id="addToGoogle"><i class="fa fa-google-plus"></i> Google</a> The problem is getting the Caspio fields to populate the data- especially the dates and times. Also on a Submission form it seems to only bring into the url Authenticated fields (maybe because the new record's values aren't saved yet). That's ok if an Update form must be used, to make sure the field's values are pushed into the url. The issue is it doesn't seem to be pushing the values in a way Google Calendar can use it, especially the first 'text=' and the dates. Using the example above as a map, how does the below code need to be modified so google calendar can read it correctly? <a class="btn btn-primary btn-xs" href="https://www.google.com/calendar/render?action=TEMPLATE&text=[@field:mytitletfield]&dates=[@field:CalDate*]/[@field:CalDate*]&details=[@field:myNotesfield]&location=[@field:myLocationfield]&sprop=&sprop=name:" id="addToGoogle"><i class="fa fa-google-plus"></i> Google2</a> I can get all but the first 'text=' and the Dates to work. Any help in figuring this out would be greatly appreciated.
Does anyone know if the width of a Google map (with the mash up) can be set to dynamically resize, depending on what device it is viewed on? I don't want a set size, I want it to be the width of what ever device is used.