To open an external link in new window instead of same tab in SharePoint 2013 site - sharepoint-2013

There is an external link in our SharePoint 2013 site, on clicking it, we'll be re-directed to an external site. Currently, this site is opening in the same tab, we instead want it to open in new window.
URL: https://abc.example.com/ido/startSSO.ping?PartnerSpId=https://admin-sso.sample.com&ACRIdx=1&TARGET=https%3A%2F%2Fwww.sample.com%2Fplo%2Fsample%2Fsrch.list%3Fx_mod_id%3D1%26x_action%3Dsearch
Note: The original URL is not provided due to security reasons.
Do I need to modify anything to make it open in new window?

Resolved this by giving target="_blank" in anchor tag.

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.

Opening a link from postman response in an external browser

I need to click a link in the postman response that loads an HTML page, then fill a form which makes an AJAX request followed by a redirect. Postman doesn't allow that, so I have to copy the link from the response and paste it in chrome which is a bit tedious and error-prone.
Is there a way to configure postman or use a key combination like (shift-click which doesn't work) to load the URL in an external browser?
Update: This feature now exists from Postman version 6.1.2
From version 6.1.2 Cmd/Ctrl + Click will open the link in default browser.
See link
They opened an issue a few months before you asked this question (link) and it is till now unresolved.
There isn't any configuration or key combination available either.
In the current online version you can right click in the response / preview pane and choose go to ... in the shortcut menu

Restrict access to 'Anchor' and 'Javascript' links on General link in Page Editor mode

This is a question on roles and rights security restriction on the General Link field type.
The general link field displays an Edit Link button on Page Editor and on click of the button, a general link form opens up with options to set up Internal Link, Media Link, External Link, Anchor, Mail and Javascript.
I want to hide/disable the Anchor and Javascript links for certain roles via Security Restrictions using Security Editor in Sitecore.
If I go to the Core Database and deny Read access to item at path:
sitecore/system/Field types/LinkTypes/General Link/Menu/Anchor
it hides the Anchor item for General Link field in Content Editor but not in Page Editor.
Is there a way to do hide it in Page Editor mode?
Unfortunately, in Sitecore 7 (not sure about 8), these options are hard-coded into the dialog and do not pull from Sitecore items, so you will not be able to apply security as you normally would. As I see it, that leaves you with two options:
Override the dialog's default behavior by pointing to your own implementation.
Disable the options for all users by commenting out the Anchor and JavaScript sections of the following file. Place the modified file in the \sitecore\shell\Override folder.
<webroot>\sitecore\shell\Applications\Dialogs\GeneralLink\GeneralLink.xml

How to update web reference in visual studio without access to the web service server [duplicate]

Is it possible in asp.net to update or create a web service reference from a wsdl file on our local drives?
If so, could you please describe it ?
Follow these steps.
Open the Solution/Project in Visual Studio
Right Click on Solution Explorer on the project for which you want to add web reference.
Select Add Service Reference. (This will open a Add Service Reference dialogue box.)
Click on Advanced... button located at bottom of the dialogue box. (This will open another dialogue box named Service Reference Settings.)
Click on Add Web Reference button located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)
Enter OR Copy & Paste full path for the WSDL file from your local drive as the URL.
Click on Go button besides the URL box.
Edit Web Reference Name if you want to.
Click on Add Reference.
And you are done.
It's been long time from accepted answer. If you are using VS2019 you can simply click on the service and select "Update..."
No need to add the service as Web Reference. You can do it setting the "Address" Field as the path of the file, for e.g.:
c:\contracts\mycontract.xml
and then "Go".

How can a URL tab locator be programmed in Chrome or Firefox?

I want to create an extension that when a link is hovered over or right clicked, can search for all the tabs opened to the website, bring up a list of them and allow you to select one of them to jump to, or create a new tab for that website if none exists.
Is it possible in Firefox or Chrome with Javascript? The List All Tabs button in goes part of the way, but only shows the page titles, rather than include the URL with it.