--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/5e01c270-f016-4912-bd87-eaf71d2f9736%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The best work around I can think of is to send two links. The order matters.The first link would go to the dataset and have the Private URL token right in the link as usual. This link basically logs the user in as a special "PrivateUrlUser" (instead of a "Guest" user) and establishes a session.The second link would go to the file in question. Because the session has already been established, it should work. Technically, you could also construct a URL directly to the file (API rather than landing page) to download the file, passing the Private URL token as an API token. It sounds like you want to show the landing page for the file though.Private URL came along in Dataverse 4.5 and the file landing page came along in 4.6. The code would need to be updated to allow file landing pages to work with a Private URL. If you want to create a GitHub issue for this, please go ahead. It's a good idea.I hope this helps,Phil
On Mon, Jan 29, 2018 at 12:37 PM, Sebastian Karcher <sebastiankarcher2008@u.northwestern.edu> wrote:
This is with version 4.6.2 of Dataverse:
For a project, I'd like to be able to link to individual file landing pages of an unpublished data project.
I have create a private URL for the dataset. What works is:
1. Got to the dataset with the private URL including the token https://<host>/privateurl.xhtml?token=***
2. Then go to the file https://<host>/file.xhtml?fileId=2485&version=DRAFT
I was hoping to be able to link to the file landing page directly by also passing the token as in
https://<host>/file.xhtml?fileId=2485&version=DRAFT&token=***
but that doesn't appear to work.
Is this at all possible? Any ideas other than to tell people "you need to first open the dataset landing page and then open the files in the same browser session"?
Thanks!
Sebastian
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsubscribe...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/5e01c270-f016-4912-bd87-eaf71d2f9736%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Philip Durbin
Software Developer for http://dataverse.org
http://www.iq.harvard.edu/people/philip-durbin
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8H7XarPQ2%2BBGeP7gSci3WQZ1yju_TSR9cwBVYQc%3Db9C%3DQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8H7XarPQ2%2BBGeP7gSci3WQZ1yju_TSR9cwBVYQc%3Db9C%3DQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CAOSYSD6wouHuFr2iQmmAgncDiL57mpitG6K8HaWwJ5TPuYq95g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CAOSYSD6wouHuFr2iQmmAgncDiL57mpitG6K8HaWwJ5TPuYq95g%40mail.gmail.com.
--Philip Durbin
Software Developer for http://dataverse.org
http://www.iq.harvard.edu/people/philip-durbin
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8HcSnUAWK558t5UpzEbWQ4%2BFTkuLh0VsJ-%2Bsygix1CLxA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8HcSnUAWK558t5UpzEbWQ4%2BFTkuLh0VsJ-%2Bsygix1CLxA%40mail.gmail.com.
--Sebastian Karcher, PhD
www.sebastiankarcher.com
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CAOSYSD6gYq5a3eAt3sKiTFtwq6DSPsvAiuMRURzrydW_nWvA3g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8HcSnUAWK558t5UpzEbWQ4%2BFTkuLh0VsJ-%2Bsygix1CLxA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CAOSYSD6gYq5a3eAt3sKiTFtwq6DSPsvAiuMRURzrydW_nWvA3g%40mail.gmail.com.