Sitecore Media Library - missing Alt Text - sitecore

I am using Sitecore 9.0. There used to be an option while uploading an image to use either the normal "File Upload" or "Upload File Advanced" to enter the Alt Text before uploading the image in the upload dialog box itself. It is now missing.
Can someone guide me on how to get it back? The Alt Text option used to be visible in the red highlighted box below.

The File Upload dialog allowing you to set the Alternate text is based on a Flash uploader. There is an Upload.Classic setting in Sitecore.config indicating whether the uploading runs in classic (no Flash) mode or not; the default value is false, so that the Flash uploader should be used by default:
<setting name="Upload.Classic" value="false" />
But, for security reason, Flash is not enabled by default in modern browsers, therefore, if you want to use the Flash uploader you also have to allow it in your browser.
How to allow Flash in Google Chrome browser?
To the left of the web address, click Lock or Info icons;
Then at the bottom on the popup, click Site Settings;
In the new tab, to the right of "Flash", click the Down arrow and then select Allow;
Go back to the site and reload the page;
Note, that Sitecore client interface issues a persistent sc_fv cookie where it stores the Flash status, its value for the blocked Flash mode is '0.0.0'. Therefore, once the Flash is allowed in your browser you need to delete the sc_fv cookie to force the Flash status check.
So, summing all up, if you wish to use the Flash file uploader you have to complete 3 simple steps below:
Make sure that Upload.Classic setting is set to false in Sitecore.config;
Allow Flash in your browser;
Delete sc_fv cookie.
And you will get the Alternate text field back in the Upload File dialog:

Related

Oracle APEX 20.2 - handling opening app in new TAB

I'm trying to handle opening app in new tab in the same browser.
When I am logged in to one tab and will open a new tab and log in again, then return to the first tab and click wherever the error page appears with information about the ended session.
How can I handle it so that when opening the application in a new tab, there is a message that app is already open and that you cannot log in again and the session does not end in the first tab. Another solution is to prevent the error page from appearing in the first tab, but to open the login page.
This is an an annoying facet to APEX session management that usually boils down to becoming a training issue. There are a few options to explore.
If the users are opening the URL from a standard link, then you could enable re-join session for that home page.
You could suggest users open a new tab from a link within the application.
Both options will result in two tabs using the same session, which can cause issues with shared session state, but the new tab link could be defined to clone the session.
Either way, when one of these tabs times out, then the other tabs using that session will have also timed out, and the only pleasant way forward is to close all but one tab.
You might also consider enabling some form of single-sign on.

devtools: Open response HTML in new tab

If an ajax/fetch request fails, my framework (django) displays a nice debug page, which contains a lot of useful information.
In chrome devtools I can see a preview of this debug page. But the window in the devtools is way too small.
Is there a way to open the output of the POST request in a new tab?
If I use right-button-click "open in new tab" then chrome does a GET. But the GET does not trigger the exception which I would like to debug.
I think the best you can do is recreate the scenario in Postman. Postman has a tool called interceptor which syncs cookies and captures requests from Chrome.
Postman interceptor uses a chrome extension which sends the captured requests to Postman app if you enable interceptor from the app.
But there could be security risk that the chrome extension will have Site access to all pages, maybe you can limit it by limiting the site access from extension settings(from settings>extensions>Postman interceptor):
Alternativly, if you do not want to use interceptor, then you can copy the payload(form data) and request headers from Headers section, then put them in Postman and make a request. Or you can use requests library to do the same.
How about using the full-screen mode of dev tools instead of opening in the separate browser tab?
Click on the three dots on the right-hand side of the chrome dev tools
Click on the first option (the two overlapping squares) and it would open the chrome dev tools in the full-screen mode.
Please refer to the image below.

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.

Invoking Win32 application from email body

I am working in an application. In this user enter his email id to get the some application setting.
After some time he will get mail with settings embedded and an apply button. Once user click on that we need to set the setting (in some file or registry).
Desktop application will read the setting(File / Registry) once it is launched.
This is the requirement. My question is,
How to call Win32/MFC application on clicking apply button with setting parameter.
You cannot arbitrarily execute something in an email message for obvious reasons.
The closest integration you could get would be to pass the configuration data as an argument to a custom URL handler in an HTML anchor; your mileage would likely vary wildly depending on browser/email client/webmail service so this is a bad idea.
Far better to simply send the configuration as an attachment with a file extension associated with your application and tell the user to open it, your app reads the config file and your done.

Upload UIDocument to iCloud on entering background

I have an iCloud enabled application that uses UIDocument to manage its data. When the document is open and the application enters background state the document should be saved and uploaded to iCloud. Saving the document when entering background state works fine out of the box, but I'm unable to find a way to make librariand pick up the change. The documents gets only uploaded when the application comes back into the foreground.
I noticed that other iCloud enabled apps - like the iWork app - have this behavior. How can I enabled this in my own app?
I already tried to initiate autosave manually in a beginBackgroundTaskWithExpirationHandler block, but this sadly don't work.
According to Apple DTS this is due to a bug in the iCloud syncing engine.