2

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>

1 Answer 1

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?

1
  • Is the id to be used in the JQuery from the OP 0x01010A0093C87013D9B24B45AC8476086CC4559F?
    – Rick
    May 20, 2013 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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