Icloud URL that allows direct download - icloud

On Icloud.com it is possible to share a file with a URL link. If that URL is used within a browser you land on a page with an icon of the file; by clicking on that icon you can download the file.
Question: is there a way to change the URL so that clicking on the URL allows direct download of the file. This is possible on dropbox and I was wondering if there is a way to do this on iCloud.

Related

Sitecore content editor redirects to Page not foud

Due to some publishing issues i corrupted my local enviroment. Luckily i had backup which i restored and my local site was functioning well but, when i login to sitecore and choose any option from main page like Content Editor or Desktop it redirects to page not found.
I've tried to disable exceptions which redirect to page but they were of no use. And no logs are being created. Should i replace the entire wwwroot folder but, my wwwroot backup is 2 months old.
Or should i start from scratch and create a new sitecore site for same solution. I've compared my web.config,connection strings files they don't seem o have any problem.
Suggest what to do.
You are able to login but seems due to some permission issue you are not able to Content Editor/Desktop. Check permission on folders like identityserver(used for login)/your website(content editor and other CMS work), to start with you can try to give permission to your IIS User/Everyone (as shown in image), once it starts working you can be selective and change permission as per your need
enter image description here

Downloading image files from s3 bucket from client side

I am building a website where I am uploading wallpapers on s3 bucket and I want users to be able to download those wallpapers from my website on the click of a button.
Earlier I was using simple anchor tag and download attribute to download the image file but now if I click on he download button my image just opens in full size in new tab.
I am not sure why this is happening and how can I Fix this. I want to be able to download the image on click not open it new tab.

How to access page by address in APEX

In the interactive report I developed with Apex, the table on the home page shows the information of a list of projects, including project name, owner etc. And the project name field of each project is a click which redirect to another page that shows more detailed project's information. In short, there is a link on the home page which directs to the page A. Sometimes, I need to copy and paste the address of this page A and send it to my colleagues so that they can go to that page directly by copying the address to their browser. However, when I tried to use the address to view the page, I got redirect to the home page instead of page A. Why this is the case? How can I achieve the redirection I want in APEX?
P.S. My APEX application do have access control where only authorised people can create and edit items in the report, but everyone can view the item and the page A is the viewing page. I am not sure if this access control have anything to do with the issue.
I got the answer from APEX forum, so I am gonna write the answer here so that it might be of some help.
The url has a session id, which belongs to the app. By default, if you copy and paste this address to another browser, a new session will be created and the old id will not be valid anymore and the url will redirect you to the login page or the home page. If you want to make this url valid all the time, you need change the deep link attribute to be enabled under the authentication. Please refer to Deep Linking for more details.

How to show open file dialog in sitecore content editor?

I created a button and assigned command to it. Once user clicks the button open file dialog (<input type="file"/>) should be displayed. When file is selected it has to be uploaded to the server. So what is the fastest way to show open file dialog and get user input?
First upload in Sitecore is not straight forward. If we take the example of the Package Upload Form, we see that it makes use of 2 aspx pages. Moreover, when uploading on the CMS, it will store the information into the database.
Possible Solution:
Create an Upload Form which will appear when the user clicks on the button.
When user selects a file, you will need first to upload it before being able to have access to it. Once uploaded, you just need to read the Zip file in order to know the structure.
Code Example:
Check the UploadForm.xml. Path: Website\sitecore\shell\Applications\Install\Dialogs\Upload package
You will see the 2 aspx pages in the same folder. The codebehind is found in the Sitecore.Client.dll
Thanks

What is the simplest way to create a page tab on the latest version of fb?

All I want to do is create a few pages with sign up forms for our fans and customers on our business facebook page.
I created the new app, named it and went on to the basic settings. From what I can tell I just need to set up the "page tab" info. I Named the tab, put in the page tab url, secure page tab url and uploaded a tab image.
Then I wait for it to show up on our fb page. I refresh the page and for a few seconds it looks like something is being loaded in the list of tabs. But then it stops and the layout of default tabs (photos, likes, and events) are unchanged.
The tab should link to the app url which should load inside of an iframe which will have the html from our web server.
That's how I understand it anyways.
You must add manually the application on your page through this URL: http://www.facebook.com/dialog/pagetab?app_id=APP_ID&redirect_uri=https://www.facebook.com/
Remember to replace APP_ID first.