I want to send my clients in my database an e-mail with a request to fill in a Google form to research their needs for our service in the future.
Every client has an unique ID already (for example EX0258, EA1405, EZ2815). I need a way how I can add this unique number in the spreadsheet that they will fill in. Of course, I can ask them to provide them by themselves, but this can cause mistakes in the information.
What I am looking for is a unique URL for each user that provides the Google Form Spreadsheet with that unqiue user ID. I hope you understand my question and that you can help me out with it.
If you have the id ready to go from your db you can do it via Google Forms, but it seems the process cannot be automated (see https://support.google.com/docs/answer/160000?hl=en)
If you are open to a 3rd party solution, you could do this with Cloud Snippets via cloudward.com. You could just include the id as a parameter like this:
your_domain_here.com/page_name.html?unique_id=ABCD1234
The code would look something like this:
<# start form for google spreadsheet "Your Spreadsheet Name";#>
<input type="text" <# your_column_name #> value="<#[url.unique_id]#>">
<input type="text" <# your_column_name2 #>>
<# end form #>
The unique ID in the snippet above would be ABCD1234
Related
Once a day, I need to run an SQL Stored Procedure, which collects a list of results. I then need to input the results, as a nice user friendly table, into an e-mail (SendGrid).
So far, I have setup all connections and got the Logic App to work but the e-mail it generates displays the results like this:
{"Table1":[{"CaseID":"1000001","DateOfUdate":"2020-06-09T11:34:57.483"},{"CaseID":"1000002","DateOfUdate":"2020-06-09T11:34:57.483"},{"CaseID":"1000003","DateOfUdate":"2020-06-09T11:34:57.483"},{"CaseID":"1000004","DateOfUdate":"2020-06-09T11:34:57.483"}]}
How can I get this to be displayed as a proper table?
Case ID DateofUpdate
1000001 2020-06-09T11:34:57.483
1000002 2020-06-09T11:34:57.483
1000003 2020-06-09T11:34:57.483
1000004 2020-06-09T11:34:57.483
Below are images of my Logic App - please let me know if I need to provide more information.
For this requirement, please refer to the steps I provided below:
1. I initialize a variable named "resultSetVar" and store the json data same to yours', use this variable to simulate your "ResultSets" data.
2. Then use "Parse JSON" action to parse the json data.
3. After that, use "Create HTML table" action to create the html with the json array "Table1" from the "Parse JSON" action.
4. At last, put the "Output" from "Create HTML table" action into the "Email body" box.
5. Running the logic app, I received the email shown as below
Hope it helps~
Just started using the PODS framework for Wordpress. Most of it I picked up pretty fast, the rest I'm struggling with. Below is an example of my confusion:
I created a custom post (Partner Bio) with auto-templates turned on.
I created a pods-template (Bio for Industry) that is sourcing post (Partner Bio).
I created another custom post (Industry) with multi-select post-type relationship field to post (Partner Bio).
The issue I'm having is that when I create an instance of post (Industry), then select specific items from that relationship (Partner Bio), (say there are 10, but I chose 3), I'm getting data returned for all of Partner Bio's instead of just the three I chose, so in other words the template pulling data from all Partner Bios regardless of what I choose in the post field drop down.
The template I'm using looks like this:
<div>{#post_thumbnail.thumbnail}<br/>
{#first_name} {#middle_initial} {#last_name}<br/>
{#title_of_partner}<br/>
{#position}<br/>
{#phone}<br/>
Email {#first_name}
</div>
This made me think that when you embed a pod usinge a shortcode, it's not being controlled by the fields selected when you edit your post. So then I tried grabbign the code from the template and then just dropping it in the post, that did not work either.
My goal is to display the block listed above one under another, based on which bios I choose. What am I doing wrong?
If my example above is confusing, here's a simpler sample illustrating the same issue, this maybe more clear:
Post A structure/fields:
Name,
Email,
Rel, // Post A's Relationship via post-type to Post B,
Auto templates: on,
Pods Template created: {#name}{#Emal}{#Image}
The issue, is when I create an instance of Post A and select items from the Rel, I'm getting values pulled in from all members of that relationship rather than just what I checked off.
If I turn off auto templates and drop in magic tags into the instance of Post A, I do get back only data for the relationship items I chose but I ge it back in this format:
Name and Name and Name
Emaile and Email and Email
Rather than:
Name
Email
Name
Email
...
A www form provides my cgi script with a full name for the credit card information. The PayPal Rest API wants a first_name and last_name. If there are more than two 'words' in the full name, then what is the way to submit the information? I want to avoid declined cc payments.
Say, given
full_name="Mr. I M Testy".
Should I submit
first_name="Mr. I M",
last_name="Testy"
Or what?
Where is the guidance on the Paypal rest documentation?
The solution that seems to work best, in the sandbox, is to split the words given for card holder name into last name and everything else.
ex. "John Jacob Jingleheimer Schmidt" would be split into
last_name: 'Schmidt'
first_name: 'John Jacob Jingleheimer'
And that is how I would submit it. If the cardholder goes by one name that is the last name and I submit no first_name parameter at all.
You can either add them to the end of the first name as you are doing or before last name. There is no convention that is enforced via REST APIs. So as long as you are consistent on your end about how you handle names, the APIs should not stand in your way.
Alright so I am working on a site and it requires some 100 names of people to create an account for. We are using the latest version of Concrete5(c5 is a pain). I have a template for the profile page and all i need to do is edit in the boxes of all the people. is their any easier way than adding them all in manually. We are open to the option of not using c5 for the profile creation portion. I have never had to do something like this so if anyone has any clue on how this could be completed faster please give me some feedback
also all the people i need to add profiles for are in a custom made excel sheet
A fairly easy option would be to create a csv file of the contacts, upload that csv to your C5 directory and then create a single page to import the contacts.
The single page shows nothing only reads the csv file and create new users using the following function: $newUserInfoObject = UserInfo::add($data);
Where $data is an array that can contain
uName - the username. Required.
uEmail - Email address. Required.
uPassword - the non-encrypted password.
uIsValidated - Whether the email address has been validated. If not
specified, -1 will be saved.
uIsFullRecord - Set to 1 unless set in the array to 0.
source: C5 users
(you should check if the username already exists, and if so add an incrementing integer to the username)
After you coded the single page to read the csv and added it in the dashboard (back-end), you go to the page once and your contacts will be imported.
How to create a single page: C5 single pages
After importing the data, delete the single page from the system, so no one else can accidently import the same contacts again.
I have 5 textboxes (name, roll No, address etc) and I want that when I fill my name in first text box (name) then it should fill my all 4 fields automatically which I filled.
I got this in ASP.Net but I want to use this same in classic ASP.
Sounds like you'll need to fire off an ajax call via a onkeypress javascript function call that calls a script which queries your database and gets data for user when it finds a match.
<input type="text" id="uName" name="uName" value="" onkeypress="getUserDetails(this.value)"/>
You can then use the data and further ajax to populate the additional fields.