Call to action at the end of a URL2019 Community Moderator ElectionWhat is the difference between a URI, a URL and a URN?Encode URL in JavaScript?Get current URL with jQuery?What is the maximum length of a URL in different browsers?How to modify the URL without reloading the page?Get the current URL with JavaScript?What is the difference between call and apply?How to change the URI (URL) for a remote Git repository?Open a URL in a new tab (and not a new window) using JavaScriptHow do I return the response from an asynchronous call?

Split a number into equal parts given the number of parts

Should we avoid writing fiction about historical events without extensive research?

Preparing as much as possible of a cake in advance

Does the US political system, in principle, allow for a no-party system?

Can a Mimic (container form) actually hold loot?

Why aren't there more gauls like Obelix?

Should I use HTTPS on a domain that will only be used for redirection?

What does "rhumatis" mean?

PTIJ: Mouthful of Mitzvos

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Genitives like "axeos"

Is this nominative case or accusative case?

Replacing tantalum capacitor with ceramic capacitor for Op Amps

Can you run a ground wire from stove directly to ground pole in the ground

Are small insurances worth it

Remove object from array based on array of some property of that object

What is Tony Stark injecting into himself in Iron Man 3?

What can I do if someone tampers with my SSH public key?

Convert an array of objects to array of the objects' values

Was it really inappropriate to write a pull request for the company I interviewed with?

Affine transformation of circular arc in 3D

Rationale to prefer local variables over instance variables?

Can a Mexican citizen living in US under DACA drive to Canada?



Call to action at the end of a URL



2019 Community Moderator ElectionWhat is the difference between a URI, a URL and a URN?Encode URL in JavaScript?Get current URL with jQuery?What is the maximum length of a URL in different browsers?How to modify the URL without reloading the page?Get the current URL with JavaScript?What is the difference between call and apply?How to change the URI (URL) for a remote Git repository?Open a URL in a new tab (and not a new window) using JavaScriptHow do I return the response from an asynchronous call?










1















I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=



In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV



This is the code behind the button:



<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>


Thanks.










share|improve this question






















  • try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.

    – Harsh Patel
    yesterday











  • Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?

    – Chris Kotsiopoulos
    yesterday











  • I don't know about that. but I guess there isn't any tool for recording.

    – Harsh Patel
    19 hours ago















1















I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=



In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV



This is the code behind the button:



<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>


Thanks.










share|improve this question






















  • try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.

    – Harsh Patel
    yesterday











  • Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?

    – Chris Kotsiopoulos
    yesterday











  • I don't know about that. but I guess there isn't any tool for recording.

    – Harsh Patel
    19 hours ago













1












1








1


1






I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=



In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV



This is the code behind the button:



<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>


Thanks.










share|improve this question














I have a URL that leads to an Amazon reporting page. The URL looks like this (shortened for clarity):
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=



In the page, there is a button to download the report as a CSV file. Is there a way to call the button action by adding the button ID at the end of the URL?
IF this is possible, it may look like this:
https://sellercentral.amazon.co.uk/gp/dateUnit=1&viewDateUnits=ALL&runDate=&export.downloadCSV



This is the code behind the button:



<div id="actionsBar" style="display: block;">
<div class="actionsButton actionsDD" id="export">
<span class="actionsLabel">Download</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="downloadCSV">CSV</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div class="actionsButton actionsDD" id="pivot" style="display: none;">
<span class="actionsLabel">Pivot</span>
<ul class="actionsDDsub" style="display: none;">
<li><span id="pivotButton">SKU Performance</span></li>
</ul>
<div class="actionsArrow"></div>
</div>
<div id="backToDate" class="actionsButton actionsBTN" style="display:none">
<span class="actionsLabel">Return to Date Report</span>
<div class="actionsNoArrow"></div>
</div>
<div id="sortedBy"></div>
</div>


Thanks.







javascript html url button action






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Chris KotsiopoulosChris Kotsiopoulos

112




112












  • try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.

    – Harsh Patel
    yesterday











  • Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?

    – Chris Kotsiopoulos
    yesterday











  • I don't know about that. but I guess there isn't any tool for recording.

    – Harsh Patel
    19 hours ago

















  • try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.

    – Harsh Patel
    yesterday











  • Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?

    – Chris Kotsiopoulos
    yesterday











  • I don't know about that. but I guess there isn't any tool for recording.

    – Harsh Patel
    19 hours ago
















try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.

– Harsh Patel
yesterday





try to write those csv data on file and download that file rather than call to action. if they change the id or whatever you used to trigger click action then you need to change your code as well.

– Harsh Patel
yesterday













Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?

– Chris Kotsiopoulos
yesterday





Sounds like a good idea. So I need to find the direct path to the CSV file? The problem is that it is created dynamically after selecting various options and filters. Also after clicking on the Download button, the URL stays the same, so I don't have a clue for the actual CSV file path. Is there a tool for recording everything that happens behind the scenes when I click the download button or a way to determine if this information comes from a database or a JSON file etc?

– Chris Kotsiopoulos
yesterday













I don't know about that. but I guess there isn't any tool for recording.

– Harsh Patel
19 hours ago





I don't know about that. but I guess there isn't any tool for recording.

– Harsh Patel
19 hours ago












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023045%2fcall-to-action-at-the-end-of-a-url%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55023045%2fcall-to-action-at-the-end-of-a-url%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page