Tableau: Passing a value in a Webpage input box - tableau-api

I have a tableau report that I created a URL Action Menu that points to a website URL
For confidentiality the URL is not active. I'm just illustrating the sample URL path
Tableau Dashboard
What I want to set-up is when the "Submit" link is clicked, the website is opened and the ID is automatically entered in the web page input box.
Web Page to auto enter the ID
How do I incorporate in the URL to automatically send the ID value in the web page input box

You can pass field values in the URL
http://onlinehelp.tableau.com/current/pro/desktop/en-us/actions_fieldvalues_url.html

Related

How to store text from field with Google Tag Manager on a form submission

I'm trying to catch email address as a variable with Google Tag Manager (GTM) on signup form submit on http://cloud.feedgee.com/ru/signup and fire a tag with it. On submit, the page is being reloaded.
By now tried to catch it with Form submission by form id set as shown on screenshot) and a Button click as a Custom event with it's click id
I initiated a DOM element variable with Id of the Form text field (Element Id=ContentPlace_loginEmail)
With these settings in Preview mode on Form Submit, I can not see my Tag in "Tags Fired On This Page" row before page reload.
What can be the reasons for this if Id's of the elements are correct?
May it depend on the container script location on the page?
Now It's located right after the HTML tag.
Can I store form text field in a DOM variable to use it in the tag?
If you want to store the email value in your own API, Google Tag Manager is not the right tool for you. You should only use it to track events that fit under Google's terms of use.
Having said that, when you're working with forms in GTM, hold the <shift> key with you click the submit button. If you do that, a new tab will open up, but the current page wont get redirected or refresh. You'll then be able to see what data is being pushed to the dataLayer.

Redirecting form to current browser url (ATG)

I have a form which is included on all the pages of our website. The dsp:form action attribute is same as the current page url. This works fine for most of our pages but fails when a user submits the form on a page where browser shows a seo friendly url.
For example when a user submits the form on one of our product pages www.mysite.com/products/prdName the page refreshes and redirects user to www.mysite.com/prodSpec/index.jsp
How can i keep user on the same browser url on form sumission?
TIA
Have you considered using therein property value /OriginatingRequest.requestURI as your successUrl value?
OriginatingRequest is a request-scoped component that represents the current HTTP request (specifically, the instance of DynamoHTTPRequest)

Append Form text field value alone in the url

I am trying to create a sample Online shopping application using SPRING+REST. I have a 1000 of products and I would like to make use of #RequestMapping("watches/{id}") annotation . But i dont know how to send the id form field value alone while submitting a form in jsp.
I want something like this
www.example.com/watches/1001
Please help me out
I guess you will have some jsp page which consists of all watches. This web page can be access by localhost:8080/watches URL.
If user click on any watches, user will land to localhost:8080/watches/{watch-id} page as the click on watch will redirect the request.
If your JSP is form based page, then user need to enter the watch-id ( or watch name which we need to map to watch id) and click on submit button will redirect the request to localhost:8080/watches/{watch-id}. Please let me know if you are ok with this.

Unique content for each instance of a page app?

So I have a canvas app that allows a user to create content to be displayed in a page tab. User input is saved in an xml file. The xml file is named with the userid, example: 12345678.xml.
I also have a page app that uses PHP simpleXML to load and display content from the xml file
So, if I created content via the canvas app, I can create a page tab app and point it at MYPAGEAPPDOMAIN/index.php?uid=12345678 and use the passed uid variable to load the proper xml file, and display the content I created under that uid. I've tested all this and it works fine.
The problem is, that each user would have to manually create their own page tab app, with the url containing their user id to display the correct content. I could provide instructions and say "here's how your url should look" but I'd really like to simply let them click "add this to my page."
As far as I can tell from other questions I've found, everyone who adds the page will display content from the url specified in the page app basic settings. So there's no way to have Jim's iframe load index.php?uid=12345678 and Jenny's iframe load index.php?uid=87654321.
Is there any way, when a page tab is loaded, to get the user id of the person who installed it? (Get the admin ID for the page?)
Or is there any other way to let each instance of my page tab app display the proper content for it's location?

add a tab to facebook page programmatically

I have a site that hosts music (stereokiller.com) - a sample band page would be http://www.stereokiller.com/rapture .
I am attempting to create a facebook application that will insert a new tab into a user's band page on facebook loaded with the player and some other information from my site. However, i'm not sure how to pass the iframe app any parameters to determine which band information to show? I'm aware of the FB_SIG_PAGE_ID which I could then get the owner page name from the Graph API, but if there are multiple bands on my site with the same name then we could have issues.
[solved]
I figured it out.
do an http call to graph.facebook.com/me/accounts?access_token={access token}. loop through results with the access token retrieved through the prior call, then do http post to graph.facebook.com/{PAGE_ID}/tabs with the form param {app_id} for the app of which you want to add.
You can install a profile_tab at the end of the current list of installed tabs for a page by issuing an HTTP POST request to PAGE_ID/tabs with a Page Access Token:
Parameter Description Type Required
app_id ID of the application for which to install the tab. string Y
If the create is successful, you get the following return:
Description Type
If the create succeeded boolean