Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a document link item that points to a URL. This item is inside a document library.

Is there a way to make this item open to a new page?

I opened the aspx file it creates, but I am unsure how to modify to insert the target parameter.

<mso:CustomDocumentProperties>
<mso:ContentTypeId msdt:dt="string">0x01010A0093C87013D9B24B45AC8476086CC4559F</mso:ContentTypeId>
<mso:IconOverlay msdt:dt="string">||linkoverlay.gif</mso:IconOverlay>
<mso:URL msdt:dt="string">http://www.google.com</mso:URL>

</mso:CustomDocumentProperties>
share|improve this question

1 Answer 1

You could always use jQuery to change link behavior, which would look something like this:

 jQuery("#myLinkID a").attr("target","_blank");

Reference: how to put target=“_blank” in jQuery?

share|improve this answer
    
Is the id to be used in the JQuery from the OP 0x01010A0093C87013D9B24B45AC8476086CC4559F? –  Rick May 20 '13 at 18:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.