Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

URL action

  Asked By: Bhavika    Date: May 14    Category: Sharepoint    Views: 2135

I have a field returned in the BDC with a URL (named url) such as www.microsoft.com or www.intel.com and I'd like to create a simple Action to open that web site. When I try the obvious of creating an action such as http://{0} or http://?url={0} where url is defined as the parameter. Sharepoint gives an error stating "Entity Id is invalid." Worse, the only way to recover is deleting the BDC application and recreating it. I also tried simply entering {0} as the URL. While this didn't cause an error, it also didn't open the web site when the action was selected in a BDC list.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Angarika Shroff     Answered On: May 14

Using the Current Page URL in the UrlAction of a SharePoint Feature.

We used JavaScript function to navigate to external sites.


1 javascript:window.location="http://{0}";

 
Didn't find what you were looking for? Find more on URL action Or get search suggestion and latest updates.




Tagged: