Answered by:
MSCRM 2011 : Unbale to call the Jscript function inside Flyout button on entity home page.

Question
-
HI,
I'm unable to call the Jscript function inside the Flyout button of account home page.
But I was able to run the URL for the same button.
My requirement is I want add Flyout button in Account home page and I need to call the Jscript inside that button.
Please let me know anyone have any idea regarding this why Jscript is not working URL is working for the same button.
<CommandDefinition Id="Test.Button1">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction Library="$webresource:new_flyoutbutton"
FunctionName="flyoutfunction" />
</Actions>
</CommandDefinition>
Function :
function flyoutfunction()
{
alert(" Hi this is FyoutButton");
}
Thanks,
Thanks, Toushu
Thursday, September 12, 2013 10:02 AM
Answers
-
Mahender,
Thanks a lot for your quick response,
Let me work on this and update you the same.
Thanks,
Thanks, Toushu
- Marked as answer by Rahul-22 Friday, September 13, 2013 7:07 AM
Thursday, September 12, 2013 11:05 AM
All replies
-
are you sure you are using correct js web resource name ??
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.Thursday, September 12, 2013 10:14 AMModerator -
Yes, I'm using same Js file its working fine for record level but its not working on Home page level
Thanks, Toushu
Thursday, September 12, 2013 10:17 AM -
Hi,
Check this post: http://madcomputerist.blogspot.in/2012/06/referencing-multiple-javascript.html
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.Thursday, September 12, 2013 10:29 AMModerator -
Mahender,
Thanks a lot for your quick response,
Let me work on this and update you the same.
Thanks,
Thanks, Toushu
- Marked as answer by Rahul-22 Friday, September 13, 2013 7:07 AM
Thursday, September 12, 2013 11:05 AM