Hi Utsav,
did you create your own webnode. if so then you can get it to work.
you were looking in the righr direction but on the wrong location for the link construction..
The _ConvertToJSON() method is called when the browse page is constructed. you can find the _ConvertToJSON method inherited by the webnode in oscript. The link construction for the promoted link ( i guess that you want that one to open in a new window) is performed here and defines the attriburtes for the <A>. no option for another attribute ...
below the code from _ConvertToJSON where the promoted link is generated...
.....
// TODO: this should get optimized to not return the full string, but an array that is the href and the name
promotedCmdsStr = ""
for promotedCmd in promotedCmds
/* here it constructs the link */ promotedCmdsStr += Str.Format( ' <A HREF="%1" TITLE="%2 %3">%2</A> ', promotedCmd.Object.URL( request, nodeRec, nextURL ), promotedCmd.Name, Web.EscapeHTML( nodeRec.Name ) )
end
If your module implements the webnode then override the _ConvertToJSON method for the webnode and add the target="_blank" option.. to the anchot <A>
mind that it loops through all promoted items applicable for the webnode so add some intelligence that not all promoted links open in a new window..
think this does the trick..