1 Reply Latest reply on Dec 8, 2014 7:30 AM by youngpar RSS
    dwightwhe Explorer

    Add gadgets to dashboard

    Hi,

    I'm trying to let users add gadgets to their dashboards based on gadget visibility.

    Is there a way to have an add gadget selector that is not based on a predefined mashup? Select by magic picker would be just fine.


    EDIT: I created a new mashup. It has dashboard, group and gadget picker lists (using DashboardResource services) and a button to add a gadget to a dashboard group. This kinda works but there are 2 downsides: I need a master mashup to show this popup, and the dashboard does not automatically refresh after a gadget gets added. Any ideas how to refresh the dashboard?


    Thanks!

      • Add gadgets to dashboard
        youngpar Newbie

        <p>You can use add gadget capability in your own dashboard group.<br> <ol start="1" type="1"><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      text-align:left;line-height:normal;mso-pagination:widow-orphan;mso-list:      l0 level1 lfo1;tab-stops:list 36.0pt;text-autospace:ideograph-numeric ideograph-other;      word-break:keep-all"><span style="font-size:12.0pt;font-family:      굴림;mso-bidi-font-family:굴림;mso-font-kerning:0pt" lang="EN-US">Creating gadgets.</span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      text-align:left;line-height:normal;mso-pagination:widow-orphan;mso-list:      l0 level1 lfo1;tab-stops:list 36.0pt;text-autospace:ideograph-numeric ideograph-other;      word-break:keep-all"><span style="font-size:12.0pt;font-family:      굴림;mso-bidi-font-family:굴림;mso-font-kerning:0pt" lang="EN-US">Creating a gadget library      mashup. This is the mashup that gadgets can be added to within the      dashboard. ( You can add multiple gadgets as you define mashup layout. )</span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      text-align:left;line-height:normal;mso-pagination:widow-orphan;mso-list:      l0 level1 lfo1;tab-stops:list 36.0pt;text-autospace:ideograph-numeric ideograph-other;      word-break:keep-all"><span style="font-size:12.0pt;font-family:      굴림;mso-bidi-font-family:굴림;mso-font-kerning:0pt" lang="EN-US">Remember your </span><span style="font-size:12.0pt;font-family:      굴림;mso-bidi-font-family:굴림;mso-font-kerning:0pt" lang="EN-US">gadget library      mashup</span></li></ol> <span style="font-size:12.0pt;line-height:115%;font-family:굴림; mso-bidi-font-family:굴림;mso-font-kerning:0pt;mso-ansi-language:EN-US; mso-fareast-language:KO;mso-bidi-language:AR-SA" lang="EN-US">4. Creating a dashboard mashup.<br>5. </span><span style="font-size:12.0pt;line-height:115%;font-family:굴림; mso-bidi-font-family:굴림;mso-font-kerning:0pt;mso-ansi-language:EN-US; mso-fareast-language:KO;mso-bidi-language:AR-SA" lang="EN-US"><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings>   <o:AllowPNG></o:AllowPNG> </o:OfficeDocumentSettings> </xml><![endif]--><span style="font-size:10.0pt;mso-bidi-font-size: 11.0pt;line-height:115%;font-family:&quot;맑은 고딕&quot;;mso-ascii-theme-font:minor-latin; mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin; mso-bidi-font-family:&quot;Times New Roman&quot;;mso-bidi-theme-font:minor-bidi; mso-ansi-language:EN-US;mso-fareast-language:KO;mso-bidi-language:AR-SA" lang="EN-US">In the mashup parameters window, in the <b>MashupToAddGadgets</b> field, use the magic picker to select the previously created your own gadget library mashup.<br><br>6. Save your dashboard mashup and you can use add gadget function in your building dashboard mashup.</span><!--[if gte mso 9]><xml> <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves></w:TrackMoves>   <w:TrackFormatting></w:TrackFormatting>   <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>   <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>   <w:ValidateAgainstSchemas></w:ValidateAgainstSchemas>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF></w:DoNotPromoteQF>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>KO</w:LidThemeAsian>   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>   <w:Compatibility>    <w:SpaceForUL></w:SpaceForUL>    <w:BalanceSingleByteDoubleByteWidth></w:BalanceSingleByteDoubleByteWidth>    <w:DoNotLeaveBackslashAlone></w:DoNotLeaveBackslashAlone>    <w:ULTrailSpace></w:ULTrailSpace>    <w:DoNotExpandShiftReturn></w:DoNotExpandShiftReturn>    <w:AdjustLineHeightInTable></w:AdjustLineHeightInTable>    <w:BreakWrappedTables></w:BreakWrappedTables>    <w:SnapToGridInCell></w:SnapToGridInCell>    <w:WrapTextWithPunct></w:WrapTextWithPunct>    <w:UseAsianBreakRules></w:UseAsianBreakRules>    <w:DontGrowAutofit></w:DontGrowAutofit>    <w:SplitPgBreakAndParaMark></w:SplitPgBreakAndParaMark>    <w:EnableOpenTypeKerning></w:EnableOpenTypeKerning>    <w:DontFlipMirrorIndents></w:DontFlipMirrorIndents>    <w:OverrideTableStyleHps></w:OverrideTableStyleHps>    <w:UseFELayout></w:UseFELayout>   </w:Compatibility>   <m:mathPr>    <m:mathFont m:val="Cambria Math"></m:mathFont>    <m:brkBin m:val="before"></m:brkBin>    <m:brkBinSub m:val="&#45;-"></m:brkBinSub>    <m:smallFrac m:val="off"></m:smallFrac>    <m:dispDef></m:dispDef>    <m:lMargin m:val="0"></m:lMargin>    <m:rMargin m:val="0"></m:rMargin>    <m:defJc m:val="centerGroup"></m:defJc>    <m:wrapIndent m:val="1440"></m:wrapIndent>    <m:intLim m:val="subSup"></m:intLim>    <m:naryLim m:val="undOvr"></m:naryLim>   </m:mathPr></w:WordDocument> </xml><![endif]><![if gte mso 9]><![endif]><![if gte mso 10]>

        /* Style Definitions */
        table.MsoNormalTable
        {mso-style-name:"표준 표";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-priority:99;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin-top:0cm;
        mso-para-margin-right:0cm;
        mso-para-margin-bottom:10.0pt;
        mso-para-margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        line-height:115%;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        mso-bidi-font-size:11.0pt;
        font-family:"맑은 고딕";
        mso-ascii-font-family:"맑은 고딕";
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:"맑은 고딕";
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:"맑은 고딕";
        mso-hansi-theme-font:minor-latin;
        mso-font-kerning:1.0pt;}

        <![endif]> </span><![if gte mso 9]><![endif]><![if gte mso 9]><![endif]><![if gte mso 10]>

        /* Style Definitions */
        table.MsoNormalTable
        {mso-style-name:"표준 표";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-priority:99;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin-top:0cm;
        mso-para-margin-right:0cm;
        mso-para-margin-bottom:10.0pt;
        mso-para-margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        line-height:115%;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        mso-bidi-font-size:11.0pt;
        font-family:"맑은 고딕";
        mso-ascii-font-family:"맑은 고딕";
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:"맑은 고딕";
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:"맑은 고딕";
        mso-hansi-theme-font:minor-latin;
        mso-font-kerning:1.0pt;}