Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to customize width of tag chart items?

(0) ShareShare
ReportReport
Posted on by
Would like to use a tag chart but the label text is cut-off. Is it possible to adjust the width so that it autofits the length of the label text? Thanks in advance
  • Sandra Soniec Profile Picture
    on at
    RE: How to customize width of tag chart items?

    Thanks Steve Zhao for trying and the link. Will let you know if I find a way to change that property. Good day to you.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: How to customize width of tag chart items?

    Hi Sandra Soniec,

    I created a tag chart on my side and change several properties in XML with no luck. Here is a blog about the property in XML and hope it can help you:

    MS CRM Chart Editor and XML Overview | crm chart guy

  • Sandra Soniec Profile Picture
    on at
    RE: How to customize width of tag chart items?

       I work on a model driven power app and created charts of type tag chart with the standard functionality. If the text of a tags is longer than 8 characters, they are cut off in width.

    pastedimage1649144296620v1.png 

    The appearance of charts can be customized in the chart XML file. I try to find out which property needs to be modified or added to fit the tags to the length of the text, see code sample below.

    
      {my_VisualizationID}
      Content Group
      null
      my_table
      
        
          
            
              
                
                
              
            
          
          
            
              
                
              
            
          
        
      
      
        
          
            
              
              
            
          
          
            
              
                
                
                
              
              
                
                
                
              
            
          
          
            
          
          /_imgs/case_mix_by_product.png
        
      
      false
    </pre></p>
    
                          </div>
                        </div>
                            
                            <div class="attachmentsdiv">
                                
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
        <link rel="stylesheet" href="/forums/thread/details/css_file_attachment_view.css" />
        
        
        <div class="fileAlligment">
            
        </div>
        
    
    
                            </div>
                             
                          <!--manage from CRM button -->
                              
                          <!--manage from CRM button ends--> 
                            
                            <div class="comment-actions msd-mt-12"> 
                              
                            </div>
                            
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </li>
            
                
                
            
             
            <li>
              <div class="dyc-full-post">
                <div class="row">
                  <div class="col-lg-12">
                    <div class="user-information">
                      <div class="row">
    
                        <div class="col-lg-12">
                        <div class="suggested-comment-status">
                            
    
                          </div>
    
                          <div class=" dyc_userInfo">
                         <div class="msd-flex msd-justify-content-start">
                            
    
    
    
    
    
    
     
        
    
    
     
        
        
        
        
        
        
        
        
        
    
            
    
        
        
            
            
        
    
        
            
         
    
           
    
            
                <a class="avatar2" rel="/profile/?userid=6ef7562d-1cfd-ed11-8f6e-00224827eb85" href="/profile/?userid=6ef7562d-1cfd-ed11-8f6e-00224827eb85" aria-label="Community Member" data-toggle="tooltip" data-placement="bottom" title="Community Member"><img class="dc-logged-user-pic" src="/Image/download.aspx?Entity=contact&Attribute=entityimage&Id=6ef7562d-1cfd-ed11-8f6e-00224827eb85" alt="Community Member Profile Picture"></a>
            
    
        
    
      
                            <div class="post-by">
                                
    
    
    
    
    
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
      
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    <!--check for blocklisted contact show only text without link to profile-->
    
    
    
     
        
    
      
    
     
        
    
        <!--check for blocklisted contact show only text without link to profile ends-->
          
            <!---user role-->
            
    
             
    
            <!--user role end--> 
            
                
                
                
                    
                
                <!--overallLeaderBoardPoints ends-->
            
            
            
    
            
                
                  
                    <a href="/profile/?userid=6ef7562d-1cfd-ed11-8f6e-00224827eb85" aria-label="Community Member" class="comment-post-author" title="Community Member" >Community Member</a>
                    
                    
                    
                    
                 
             
                
                    
                            
                     
                
    
        
    
    
    <script>
    var jsonUserData = '[{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },';
    // Remove the last comma and add a closing bracket ']'
    window.jsonUserData = jsonUserData.replace(/,\s*$/, '') + ']';
    window.isthread = 'true';
    
      </script> on <span data-utc-date-comment="4/1/2022 5:23:32 AM"></span> <span>at</span> <span data-utc-time-comment="4/1/2022 5:23:32 AM"></span>
                            </div>
                        </div>
                            <div class="user-social"></div>
                            <div class="user-badges"></div>
                            
                              <div class="like-and-report-spam">
                                
                                
                                <div class="like-button-action">
                                  <span class="like-comment-label">
    
    
    
    
    
    
    
    
    
    
     <div class="xrm-editable-html xrm-attribute" data-languageContext="English"><div class="xrm-attribute-value">
    
    
    
    
    
    
    
    
    
    
    
    
    </div></div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    <a href="javascript:void(0)" tabindex="0" role="button" class="clickable dc-reaction" aria-label="Like button" reactionEntityName="mspwrplt_cmty_discussionreaction" commentflag="true" user-reaction=false reaction-id="" id="like-e15b1cf9-dfe8-48f3-b199-0882e067a64f"
     onclick="HandleReactionRecord(this, 'e15b1cf9-dfe8-48f3-b199-0882e067a64f')"><img src="/img_like.svg" alt="" role="presentation" class="heart-icon"/> <span>Like</span></a>
    <script type="application/javascript">
      var userId = "";
      var reacted_Snippet = '<img src="/img_heart-red.png" alt="" role="presentation" /><span>Liked</span>';
      var react_Snippet = '<img src="/img_like.svg" alt="" role="presentation" class="heart-icon"/> <span>Like</span>';
    
      function HandleReactionRecord(e, targetRecordId) {
             var reaction_ControlId = "#"+e.id;
             try{
                if(false == false){
                    window.location.href = "/signin?returnUrl="+window.location.pathname+window.location.search;
                }else{
                   $(reaction_ControlId).parent().block({ message: '', overlayCSS:  { backgroundColor: '#e0dede', opacity:0.6} });
                   var entityParams = {
                           isReactedByUser: $(reaction_ControlId).attr("user-reaction") == "true" ? true : false,
                           reactionEntityName: $(reaction_ControlId).attr("reactionEntityName"),
                           contactId: userId,
                           recordId: targetRecordId,
                           reactionType: "Like",
                           reactionId:   $(reaction_ControlId).attr("reaction-id"),
                           siteId: "44c1922b-d231-4183-bae6-be148059122f",
                           comment:$(reaction_ControlId).attr("commentflag") == 'true'?true:false
                       };
                    LoadReactionControl(entityParams, successCallback, errorCallback);
    
                    function successCallback(createdRecordId, res, status, xhr){
                                    $(reaction_ControlId).attr("reaction-id", createdRecordId);
                                    if(createdRecordId != "" && createdRecordId != undefined){
                                        $(reaction_ControlId).attr("user-reaction", true);
                                        $(reaction_ControlId).empty();
                                        $(reaction_ControlId).html(reacted_Snippet);
                                     }else{
                                        $(reaction_ControlId).attr("user-reaction", false);
                                         $(reaction_ControlId).empty();
                                         $(reaction_ControlId).html(react_Snippet);
                                      }
                                       $(reaction_ControlId).parent().unblock();
                                  }
                      function errorCallback(res){
                            if(res.status == 500 && $(reaction_ControlId).attr("user-reaction") == "true"){
                               getRecord("mspwrplt_cmty_discussionreaction", '', targetRecordId,  function(){}, errRetrieve);
                            }
                            $(reaction_ControlId).parent().unblock();
                        }
    
                      function errRetrieve(res){
                            if(res.status == 404){
                               $(reaction_ControlId).attr("user-reaction", false);
                                $(reaction_ControlId).attr("reaction-id", '');
                                $(reaction_ControlId).empty();
                                $(reaction_ControlId).html(react_Snippet);
                                
                              }
                            $(reaction_ControlId).parent().unblock();
                          }
                    }
                }catch(err) {
                     console.error(err.message);
                      $(reaction_ControlId).parent().unblock();
               }
            }
    </script><span><span>(</span><span id="record-e15b1cf9-dfe8-48f3-b199-0882e067a64f">0</span><span>)</span></span></span>
                                </div>
    
     <div class="xrm-editable-html xrm-attribute" data-languageContext="English"><div class="xrm-attribute-value">
    
    
    
    
    
    
    
    
    
    
    
    
    </div></div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        
    
    
    
     
    
    
    
     <div class="xrm-editable-html xrm-attribute" data-languageContext="English"><div class="xrm-attribute-value">
    </div></div>
    
    
    <span><a href='/signin?returnUrl=%2Fforums%2Fthread%2Fdetails%2F%3Fthreadid%3D10044beb-677e-4882-8798-a253f5c8e0a1' role="button" aria-label="Report" class="dc-report-container dc-redirect-report-link"><img class="" src="/img_report.png" alt="Report"/>Report</a></span>
                            
                              </div>
                            
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="col-lg-12">
                    <div class="row">
                      <div class="col-lg-12 col-md-12 col-sm-12">
                        <div class="ForumPostTitle">
                          <div class="post-title"> RE: How to customize width of tag chart items?</div>
                        </div>
                        <div class="forum-post-body">
                          <div class="post-content wrapper-discussionbody" id="thread_comment_e15b1cf9-dfe8-48f3-b199-0882e067a64f">
                            <p>Hi Sandra Soniec,</p>
    <p>Which app are you using and could you provide some screenshots?</p>
                          </div>
                        </div>
                            
                            <div class="attachmentsdiv">
                                
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
        <link rel="stylesheet" href="/forums/thread/details/css_file_attachment_view.css" />
        
        
        <div class="fileAlligment">
            
        </div>
        
    
    
                            </div>
                             
                          <!--manage from CRM button -->
                              
                          <!--manage from CRM button ends--> 
                            
                            <div class="comment-actions msd-mt-12"> 
                              
                            </div>
                            
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </li>
            
          </ul>
    
    <script>
    
    var threadAuthorIDCard = 'ce45e4a9-9dc9-ed11-b597-000d3a57416d';
    
    
    $(document).ready(function() {
        var tableElement = $('.post-content.wrapper-discussionbody table');
        tableElement.wrap('<div></div>');  
        tableElement.parent().css({
            'overflow-x': 'auto',
            'overflow-y': 'hidden',
            'border': '2px solid black',
            'white-space': 'nowrap'
        });
        $('.post-content a').each(function() {
          if (!$(this).attr('target')) {
            $(this).attr('target', '_blank');
          }
        });
    
    
         $('[data-utc-date-comment]').each(function (index) {
            let dateToConvert = $(this).attr("data-utc-date-comment");
            $(this).html('');
            $(this).html(moment.utc(dateToConvert).local().format("DD MMM YYYY"));
        });
    
        $('[data-utc-time-comment]').each(function (index) {
            let dateToConvert = $(this).attr("data-utc-time-comment");
            $(this).html('');
            $(this).html(moment.utc(dateToConvert).local().format("HH:mm:ss"));
        });
    
    
    });
    
    $(document).ready(function() { 
        bindEnterKeyPressEvent_EditModal();
    });
    </script>
    <script>
    document.addEventListener('DOMContentLoaded', function() {
       const replyProfileLink = document.querySelector('.avatar2');
        if (replyProfileLink) {
            replyProfileLink.addEventListener('click', function(event) {
                if (typeof appInsights !== 'undefined') {
                    var tabName = replyProfileLink.querySelector('img').getAttribute('alt');
                    
                    appInsights.trackEvent({
                        name: tabName + " username link in comment of thread detail page is clicked",
                        properties: {
                            linkId: replyProfileLink.id, 
                            page: window.location.pathname
                        }
                    });
                } else {
                    console.log('App Insights is NOT available');
                }
            });
        }
        const PostReplyUser = document.querySelector('.post-by');
        if (PostReplyUser) {
            PostReplyUser.addEventListener('click', function(event) {
                var tabName = PostReplyUser.querySelector('a').getAttribute('title');
                if (typeof appInsights !== 'undefined') {
                    appInsights.trackEvent({
                        name: tabName + " username link in thread detail page is clicked",
                        properties: {
                            linkId: PostReplyUser.id,
                            page: window.location.pathname
                        }
                    });
                } else {
                    console.log('App Insights is NOT available');
                }
            });
        }
        const editThreadCommentButton = document.querySelector('.edit-thread-comment');
        if (editThreadCommentButton) {
            editThreadCommentButton.addEventListener('click', function(event) {
                if (typeof appInsights !== 'undefined') {
                    appInsights.trackEvent({
                        name: "Edit button of reply comment in thread detail page is clicked",
                        properties: {
                            linkId: editThreadCommentButton.id,
                            page: window.location.pathname
                        }
                    });
                } else {
                    console.log('App Insights is NOT available');
                }
            });
        }
        const likecomment = document.querySelector('.like-comment-label');
        if (likecomment) {
            likecomment.addEventListener('click', function(event) {
                if (typeof appInsights !== 'undefined') {
                    appInsights.trackEvent({
                        name: "Like button of comment in thread detail page is clicked",
                        properties: {
                            linkId: likecomment.id,
                            page: window.location.pathname
                        }
                    });
                } else {
                    console.log('App Insights is NOT available');
                }
            });
        }
        const reportReply = document.querySelector('.like-and-report-spam .dc-report-container');
        if (reportReply) {
            reportReply.addEventListener('click', function(event) {
                if (typeof appInsights !== 'undefined') {
                    appInsights.trackEvent({
                        name: "Report button for reply in thread detail page is clicked",
                        properties: {
                            linkId: reportReply.id,
                            page: window.location.pathname
                        }
                    });
                } else {
                    console.log('App Insights is NOT available');
                }
            });
        }
        const manageReplyButtons = document.querySelectorAll('.admin-app-manage-btn');
            manageReplyButtons.forEach(function(manageReplyThisRecord) {
                manageReplyThisRecord.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Reply 'Manage this record' button in thread detail page is clicked",
                            properties: {
                                linkId: manageReplyThisRecord.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            });
            const verifyCheckboxButtons = document.querySelectorAll('.verify-checkbox');
            verifyCheckboxButtons.forEach(function(verifyCheckboxButton) {
                verifyCheckboxButton.addEventListener('change', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Verify checkbox on comment in thread detail page is clicked",
                            properties: {
                                linkId: verifyCheckboxButton.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            });
    
    
    });
    </script>
    <script src="/js_report_moderation.js"></script>
    <script src="/forums/thread/details/js_Reaction.js"></script>
    <!--script src="/js_Community_common.js"></script-->
    <script src="/js_disapprove_records.js"></script> 
                                 <!--modal--> 
                                <div id="modalCommentNotApproved" class="ug-event-modal">
                                    <div class="ug-event-modal-content">
                                        <div class="ug-event-modal-header msd-mb-12">
                                            <p>Under review</p>
                                            <a class="ug-event-modal-close" href="javascript:void(0);" title="Close" aria-label="Close" role="button"><i data-icon-name="Clear" aria-hidden="true" class="ms-Icon ms-Icon--Cancel x-hidden-focus"></i></a>
                                        </div>
                                        <div class="ms-Grid" dir="ltr">
                                            <div class="ms-Grid-row"> 
                                                <!--Body text-->
                                                <div class="ms-Grid-col ms-sm12">
                                                    <p class="regular-text">Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.</p>
                                                </div>
                                                <!--Submit -->
                                                <div class="ms-Grid-col ms-sm12 text-right msd-block-group-button">
                                                        <button type="button" class="msd-button msd-button--primary btnCancel">Ok</button>
                                                </div>
                                           </div>
                                        </div>
                                     
                                    </div>
                                 </div>  
                                <!--modal end-->
                            </div>
                            <div id="card-content-container-pagination"> </div>
                        </div>
                        
                    </div>
                    <div class="ms-Grid-col ms-sm12 ms-md12 ms-xl4">
                        
                            
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    
    
    
    
       
           
       
    
        <div class="dc-helpful-resource-pane">
            <div>
                <h2 class="dc-helpful-resources-title">Helpful resources</h2>
            </div>
            
            
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
        
        
    
     <div class="xrm-editable-html xrm-attribute" data-languageContext="English"><div class="xrm-attribute-value">
    
    
    
    
    
    
    
    
    
    
    
    
    </div></div>
    
        
        
        
    
        
            <!--News and Announcements - Added by Jahanvi -->
            <div class="dc-resource-cards msd-mb-48">
                
                <h2 class="dc-resource-title">News and Announcements</h2>
                <div class="dc-horizontal-line"></div>
                
                
                <a href="/blogs/post/?postid=99ca8bb5-c834-f011-8c4e-000d3a4e8211" class="dc-resource-subtitle">Announcing new navigation menus and the Engage with the Community forum!</a>
                <div class="dc-horizontal-line"></div>
                
                
            </div> 
        
    
    
    
            
                
                <div class="dc-resource-cards msd-mb-48">
                    <h2 class="dc-resource-title">Quick Links</h2>
                    <style>
    .dc-sidebar-image {
    float:left;
    margin-right:15px;
    height:84px;
    width:84px;
    overflow:hidden;
    }
    
    .dc-sidebar-image > a > img {
    height:100%;
    }
    
    .dc-sidebar-content-wrapper {
    min-height:84px;
    }
    
    .dc-sidebar-messageSubject {
    display:-webkit-box !important;
    overflow:hidden;
    font-size:16px;
    }
    
    .dc-sidebar-content-section {
    margin-top:6px;
    display:-webkit-box !important;
    overflow:hidden;
    }
    
    p.dc-sidebar-content-text {
    font-size:12px;
    }
    
    .dc-sidebar-footer {
    text-align:right;
    }
    </style>
    <div>
    
    	<div class=dc-horizontal-line> </div>
    	<div class=dc-sidebar-item-box>
    		<div class=dc-sidebar-image>
    			<a href="/forums/thread/details/?threadid=c1c334fc-cd31-f011-8c4e-7c1e52189d0f" aria-label="Announcing the Engage with the Community forum!" tabindex=-1>
    				<img src="/Image/download.aspx?Entity=mspwrplt_cmty_blogpost&Attribute=mspwrplt_cmty_thumbnail&Id=bb88bf6f-c334-f011-8c4e-000d3a4e8211&full=true" align=left role=presentation></a>
    		</div>
    		<div class=dc-sidebar-content-wrapper>
    			<div class=dc-sidebar-content>
    				<h4><a href="/forums/thread/details/?threadid=c1c334fc-cd31-f011-8c4e-7c1e52189d0f" class=dc-sidebar-messageSubject>Announcing the Engage with the Community forum!</a></h4>
    				<div class=dc-sidebar-content-section>
    					<p class=dc-sidebar-content-text>This forum is your space to connect, share, and grow!</p>
    				</div>
    			</div>
    		</div>
    	</div>
    
    	<div class=dc-horizontal-line> </div>
    	<div class=dc-sidebar-item-box>
    		<div class=dc-sidebar-image>
    			<a href="/blogs/post/?postid=b7003052-d52b-f011-8c4e-7c1e52027a5f" aria-label="🌸 Community Spring Festival 2025 Challenge Winners! 🌸" tabindex=-1>
    				<img src="/Image/download.aspx?Entity=mspwrplt_cmty_blogpost&Attribute=mspwrplt_cmty_thumbnail&Id=7ec28f8d-fa2e-f011-8c4e-7c1e5258795a&Timestamp=638826283914188455&Full=true" align=left role=presentation></a>
    		</div>
    		<div class=dc-sidebar-content-wrapper>
    			<div class=dc-sidebar-content>
    				<h4><a href="/blogs/post/?postid=b7003052-d52b-f011-8c4e-7c1e52027a5f" class=dc-sidebar-messageSubject>🌸 Community Spring Festival 2025 Challenge Winners! 🌸</a></h4>
    				<div class=dc-sidebar-content-section>
    					<p class=dc-sidebar-content-text>Congratulations to all our community participants!</p>
    				</div>
    			</div>
    		</div>
    	</div>
    
    	<div class=dc-horizontal-line> </div>
    	<div class=dc-sidebar-item-box>
    		<div class=dc-sidebar-image>
    			<a href="/blogs/post/?postid=88a7bf27-ad26-f011-8c4e-7c1e52027a5f" aria-label="Adis Hodzic – Community Spotlight" tabindex=-1>
    			<img src="/api/data/v9.0/msdyn_richtextfiles%285ceb0def-ac26-f011-8c4e-7c1e52027a5f%29/msdyn_imageblob/$value?size=full" align=left role=presentation></a>
    		</div>
    		<div class=dc-sidebar-content-wrapper>
    			<div class=dc-sidebar-content>
    				<h4><a href="/blogs/post/?postid=88a7bf27-ad26-f011-8c4e-7c1e52027a5f" class=dc-sidebar-messageSubject>Adis Hodzic – Community Spotlight</a></h4>
    				<div class=dc-sidebar-content-section>
    					<p class=dc-sidebar-content-text>We are honored to recognize Adis Hodzic as our May 2025 Community…</p>
    				</div>
    			</div>
    		</div>
    	</div>
    </div>
                </div>
                
            
    
    
            
            
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
            
    
             
                
                    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
        
        
        
        
    
                
                <div class="dc-resource-cards msd-mb-48 subscribe-container">
                    <img src="/img_subscribe_banner.png" class="img-responsive" alt="" role="presentation">
                    <h2 class="dc-resource-title dc-subscription-card-title msd-mb-8"> Subscribe to this forum!  </h2>
                    <p class="forumcategory-card-content">Stay up to date on forum activity by subscribing. <button aria-label="Popover Forum Category Info Button" rel="forumCategoryPopover" style="margin: 3px 0 0 4px;background-color: transparent;border-color: transparent;padding: 0;width: 24px;height: 24px; overflow: hidden;"><i class="ms-Icon ms-Icon--Info" aria-hidden="true"></i></button></p>
                        
    
    
    
    
        
        
            
                
            
                
            
        
    
    
                     
                    <!--Forum Category Panel Start-->
    
                    <div class="panel-default dc-product-filter-pane productfiltercontainer">
                        <div class="panel-heading active"  id="productheadingOne">
                            <h4 class="panel-title">
                                <a role="button" data-toggle="collapse" data-parent="#accordion" href="#productcollapseOne" aria-expanded="true" aria-controls="productcollapseOne">
                                    <span class="category-title-spacing"> Select categories </span>
                                </a>
                            </h4>
                        </div>
                        <div id="productcollapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="productheadingOne">
                            <div class="panel-body msd-px-8 msd-pb-8">
    
                                    
                                    
                                        
                                        
                                        <div class="filter-products-container">
                                            <label for="filter-products-be866ded-4b87-ef11-ac21-7c1e520a09df" class="filter-products-label msd-checkbox forum-category-label" data-design-type="rightrail" data-category-name="Dynamics 365 general" data-relative-entity="mspwrplt_cmty_discussionforum" dc-record="be866ded-4b87-ef11-ac21-7c1e520a09df">
                                                <input  type="checkbox" name="product-filter" value="Dynamics 365 general" id="filter-products-be866ded-4b87-ef11-ac21-7c1e520a09df" class="filter-products-checkbox" data-design-type="rightrail" data-category-name="Dynamics 365 general" data-relative-entity="mspwrplt_cmty_discussionforum" dc-record="be866ded-4b87-ef11-ac21-7c1e520a09df"/>
                                                Dynamics 365 general
                                            </label>
                                        </div>
                                    
                                        
                                        
                                        <div class="filter-products-container">
                                            <label for="filter-products-7ff015c5-4c87-ef11-ac21-7c1e520a09df" class="filter-products-label msd-checkbox forum-category-label" data-design-type="rightrail" data-category-name="Power Platform integration" data-relative-entity="mspwrplt_cmty_discussionforum" dc-record="7ff015c5-4c87-ef11-ac21-7c1e520a09df">
                                                <input  type="checkbox" name="product-filter" value="Power Platform integration" id="filter-products-7ff015c5-4c87-ef11-ac21-7c1e520a09df" class="filter-products-checkbox" data-design-type="rightrail" data-category-name="Power Platform integration" data-relative-entity="mspwrplt_cmty_discussionforum" dc-record="7ff015c5-4c87-ef11-ac21-7c1e520a09df"/>
                                                Power Platform integration
                                            </label>
                                        </div>
                                    
    							
    
                            </div>
                        </div>
                    </div>
                    <!--Forum Category Panel End -->
    
                    <div class="msd-flex msd-justify-content-center">
                            
                            <button type="button" id="btnsubscribeall" style="margin-top: 10px;" class="dc-button dc-subscribe" data-design-type="rightrail" data-forum-name="" data-relative-entity="mspwrplt_cmty_discussionforum" data-enrollmentid="" dc-record="c6870716-4e87-ef11-ac21-7c1e520a09df">Subscribe to all</button>
                            
                    </div>
                </div>
                
    
        
    
    <script>
        var categoryFetchXMLResults = false;
    </script>
    
        
        
        
            
            
            
            <script>
                categoryFetchXMLResults = false;
            </script>
            
        
     
    
                
            
    
             <!--leaderboard card-->
            
                
                
                
                    
                
    
                
                
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
                
    
                
                
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
                
    
                 
                    
                        
    
                        <div id="dc-leaderboard-forum-card-click" class="dc-resource-cards dc-leaderboard-forum-card msd-mb-48">
                            <h2 class="dc-resource-title">Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics</h2> 
                            <div class="dc-horizontal-line"></div> 
                             
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
     <div class="xrm-editable-html xrm-attribute" data-languageContext="English"><div class="xrm-attribute-value">
    
    
    
    
    
    
    
    
    
    
    
    
    </div></div>
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
            
            
            
            
            
                
            
    
            
    
            
                
            
    
            <!-- memberIndivisual -->
                    <div class="msd-memberIndivisual-wrap">
                        <div class="ledboard-card">
                            <div class="msd-flex msd-align-items-center msd-justify-content-start"> 
                                <div class="msd-flex msd-align-items-center">
                                    
                                    <span class="msd-ledboard-award"><img src="/img_led_trophy_yellow.svg" role="presentation" /></span>
                                    
                                    <span class="msd-user-rank font-size-lg"><span>#</span>1</span>
                                    <div class="ms-profile-lg ms-status msd-bgColor-blue">
                                        
                                            <span class="ug-avatar"><img class="img-responsive" src="/Image/download.aspx?Entity=contact&Attribute=entityimage&Id=8508974e-c6ef-ed11-8849-000d3a55b688" alt="Siv Sagar Profile Picture"></span>
                                         
                                    </div>
                                    <div class="msd-pl-12 msd-position-relative">
                                        <p class="msd-mb-0 ug-avatar-wrap">
                                            
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
      
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    <!--check for blocklisted contact show only text without link to profile-->
    
    
    
    
         
    
      
    
     
        
    
        <!--check for blocklisted contact show only text without link to profile ends-->
          
            <!---user role-->
            
    
             
    
            <!--user role end--> 
            
               
                    
                    
                    
                    
                        
                    
                
                <!--overallLeaderBoardPoints ends-->
            
    
            
            
    
            
                 
                     
                    <span class="ug-avatar sidepan-registered-member-name">Siv Sagar</span>
                    <!--OverallPoints--><span class="led-star-profile" tabindex="0" rel="overallPoints" role="button" ><img src="/img_led_star.svg" role="presentation"/>149</span> <!--OverallPoints ends-->
                
             
                
                    
                            
                            
                                <span class=" msd-flex  msd-flex-gap-4"> 
                                    
                                            
                                            <span class="label label-default msd-rank">Super User 2025 Season 1</span>
                                            
                                </span>
                             
                         
                     
                
    
        
    
    
    <script>
    var jsonUserData = '[{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },';
    // Remove the last comma and add a closing bracket ']'
    window.jsonUserData = jsonUserData.replace(/,\s*$/, '') + ']';
    window.isthread = 'false';
    </script>
                                             
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- memberIndivisual ends -->
            <div class="dc-horizontal-line"></div>  
    
            
            
            
            
            
                
            
    
            
    
            
                
                
            
    
            <!-- memberIndivisual -->
                    <div class="msd-memberIndivisual-wrap">
                        <div class="ledboard-card">
                            <div class="msd-flex msd-align-items-center msd-justify-content-start"> 
                                <div class="msd-flex msd-align-items-center">
                                    
                                    <span class="msd-ledboard-award"><img src="/img_led_trophy_gray.svg" role="presentation" /></span>
                                    
                                    <span class="msd-user-rank font-size-lg"><span>#</span>2</span>
                                    <div class="ms-profile-lg ms-status msd-bgColor-blue">
                                        
                                            <span class="ug-avatar"><img class="img-responsive" src="/Image/download.aspx?Entity=contact&Attribute=entityimage&Id=202253b7-0611-4637-920d-2297c8cb3015" alt="Muhammad Shahzad Shafique Profile Picture"></span>
                                         
                                    </div>
                                    <div class="msd-pl-12 msd-position-relative">
                                        <p class="msd-mb-0 ug-avatar-wrap">
                                            
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
      
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    <!--check for blocklisted contact show only text without link to profile-->
    
    
    
    
         
    
      
    
     
        
    
        <!--check for blocklisted contact show only text without link to profile ends-->
          
            <!---user role-->
            
    
             
    
            <!--user role end--> 
            
               
                    
                    
                    
                    
                        
                    
                
                <!--overallLeaderBoardPoints ends-->
            
    
            
            
    
            
                 
                     
                    <span class="ug-avatar sidepan-registered-member-name">Muhammad Shahzad Sh...</span>
                    <!--OverallPoints--><span class="led-star-profile" tabindex="0" rel="overallPoints" role="button" ><img src="/img_led_star.svg" role="presentation"/>61</span> <!--OverallPoints ends-->
                
             
                
                    
                            
                            
                                <span class=" msd-flex  msd-flex-gap-4"> 
                                    
                                            
                                            <span class="label label-default msd-rank">Most Valuable Professional</span>
                                            
                                </span>
                             
                         
                     
                
    
        
    
    
    <script>
    var jsonUserData = '[{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },';
    // Remove the last comma and add a closing bracket ']'
    window.jsonUserData = jsonUserData.replace(/,\s*$/, '') + ']';
    window.isthread = 'false';
    </script>
                                             
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- memberIndivisual ends -->
            <div class="dc-horizontal-line"></div>  
    
            
            
            
            
            
                
            
    
            
    
            
                
                
            
    
            <!-- memberIndivisual -->
                    <div class="msd-memberIndivisual-wrap">
                        <div class="ledboard-card">
                            <div class="msd-flex msd-align-items-center msd-justify-content-start"> 
                                <div class="msd-flex msd-align-items-center">
                                    
                                    <span class="msd-ledboard-award"><img src="/img_led_trophy_orange.svg" role="presentation" /></span>
                                    
                                    <span class="msd-user-rank font-size-lg"><span>#</span>3</span>
                                    <div class="ms-profile-lg ms-status msd-bgColor-blue">
                                        
                                            <span class="ug-avatar"><img class="img-responsive" src="/Image/download.aspx?Entity=contact&Attribute=entityimage&Id=6e1ba40a-f8ca-ee11-9078-6045bda706cf" alt="Daivat Vartak (v-9davar) Profile Picture"></span>
                                         
                                    </div>
                                    <div class="msd-pl-12 msd-position-relative">
                                        <p class="msd-mb-0 ug-avatar-wrap">
                                            
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
      
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    <!--check for blocklisted contact show only text without link to profile-->
    
    
    
    
         
    
      
    
     
        
    
        <!--check for blocklisted contact show only text without link to profile ends-->
          
            <!---user role-->
            
    
             
    
            <!--user role end--> 
            
               
                    
                    
                    
                    
                        
                    
                
                <!--overallLeaderBoardPoints ends-->
            
    
            
            
    
            
                 
                     
                    <span class="ug-avatar sidepan-registered-member-name">Daivat Vartak (v-9d...</span>
                    <!--OverallPoints--><span class="led-star-profile" tabindex="0" rel="overallPoints" role="button" ><img src="/img_led_star.svg" role="presentation"/>53</span> <!--OverallPoints ends-->
                
             
                
                    
                            
                            
                                <span class=" msd-flex  msd-flex-gap-4"> 
                                    
                                            
                                            <span class="label label-default msd-rank">Super User 2025 Season 1</span>
                                            
                                </span>
                             
                         
                     
                
    
        
    
    
    <script>
    var jsonUserData = '[{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },{ "username": "Sandra Soniec", "id": "ce45e4a9-9dc9-ed11-b597-000d3a57416d" },{ "username": "Community Member", "id": "6ef7562d-1cfd-ed11-8f6e-00224827eb85" },';
    // Remove the last comma and add a closing bracket ']'
    window.jsonUserData = jsonUserData.replace(/,\s*$/, '') + ']';
    window.isthread = 'false';
    </script>
                                             
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- memberIndivisual ends -->
            <div class="dc-horizontal-line"></div>  
    
    
    <script>
        function onImageLoadError(element, replaceWith){
            $(element).replaceWith('<span>'+replaceWith+'</span>');
        }
        var ledStarProfile = $('.ledboard-card .led-star-profile');
        if(ledStarProfile.length > 0){
            $(ledStarProfile).each(function(){
                $(this).attr('tabindex', '-1');
                $(this).attr('rel', '');
            });
        }
    </script>  
                            <a class="dc-leaderboard-card-link" href="/leaderboard/?snapshotType=cf189886-277d-ee11-8179-00224804a580" aria-label="Overall leaderboard">Overall leaderboard <i class="ms-Icon ms-Icon--ChevronRightMed"></i></a>
                        </div>
                    
                 
                
            <!--leaderboard card end-->
    
            
    
        
    
    
    
    
    
    
        <div class="dc-resource-cards msd-mb-48">
            <h2 class="dc-resource-title">Featured topics</h2>
            
                <div class="dc-horizontal-line"></div>
                <a class="dc-resource-title" href="/forums/thread/details/?threadid=21c6b3ff-5c1e-ef11-9f89-7c1e52197b0c" aria-label="Get batch job history log from D365 FO to Power Automate" role="link">Get batch job history log from D365 FO to Power Automate</a>
            
                <div class="dc-horizontal-line"></div>
                <a class="dc-resource-title" href="/forums/thread/details/?threadid=8673cd5a-2bff-ef11-bae2-6045bdd9ab8f" aria-label="Gross and Net Weight of Shipments feeding back into Sales Order (from External Source)" role="link">Gross and Net Weight of Shipments feeding back into Sales Order (from External Source)</a>
            
        </div>
    
      
    
            <div class="dc-resource-cards msd-mb-48">
                <h2 class="dc-resource-title">Product updates</h2> 
                <div class="dc-horizontal-line"></div>
                <a href="https://aka.ms/d365crpl/" target="_blank" class="dc-resource-subtitle" id="product-updates-link">Dynamics 365 release plans</a>
                <div class="dc-horizontal-line"></div>
            </div>
    
        </div> 
    <script>
    document.addEventListener('DOMContentLoaded', function() {
        const sidebarItems = document.querySelectorAll('.dc-sidebar-item-box');
        sidebarItems.forEach(function(item) {
          const imageLink = item.querySelector('.dc-sidebar-image a');
          if (imageLink) {
            imageLink.addEventListener('click', function(event) {
              var tabName = imageLink.getAttribute('aria-label') || "Quick link Image";
              if (typeof appInsights !== 'undefined') {
                appInsights.trackEvent({
                  name: "Helpful resource's Image link is clicked for: " + tabName,
                  properties: {
                    tabName: tabName,
                    linkId: imageLink.id || "no-id", // Fallback for missing id
                    page: window.location.pathname
                  }
                });
              } else {
                console.log('App Insights is NOT available');
              }
            });
          }
    
          const contentLink = item.querySelector('.dc-sidebar-content a');
          if (contentLink) {
            contentLink.addEventListener('click', function(event) {
              var tabName = contentLink.innerText.trim();
              if (typeof appInsights !== 'undefined') {
                appInsights.trackEvent({
                  name: "Helpful resource's Content link is clicked for: " + tabName,
                  properties: {
                    tabName: tabName,
                    linkId: contentLink.id, 
                    page: window.location.pathname
                  }
                });
              } else {
                console.log('App Insights is NOT available');
              }
            });
          }
        });
        // Track click on the "more Community News" link
        const helpfulMoreNewsLink = document.querySelector('.dc-sidebar-footer .dc-resource-subtitle a');
        if (helpfulMoreNewsLink) {
          helpfulMoreNewsLink.addEventListener('click', function(event) {
            var tabName = helpfulMoreNewsLink.innerText.trim(); 
            if (typeof appInsights !== 'undefined') {
              appInsights.trackEvent({
                name: "In helpful link clicked for" + tabName,
                properties: {
                  tabName: tabName,
                  linkId: helpfulMoreNewsLink.id || "no-id", 
                  page: window.location.pathname
                }
              });
            } else {
              console.log('App Insights is NOT available');
            }
          });
        }
    
        const productUpdatesLink = document.getElementById('product-updates-link');
    
        if (productUpdatesLink) {
            productUpdatesLink.addEventListener('click', function (event) {
                const tabName = productUpdatesLink.innerText.trim();
                const linkId = productUpdatesLink.id || "no-id";
    
                if (typeof appInsights !== 'undefined') {
                    appInsights.trackEvent({
                        name: "Helpful Resource - Product Updates Clicked for:" + tabName ,
                        properties: {
                            tabName: tabName,
                            linkId: linkId,
                            page: window.location.pathname
                        }
                    });
                } else {
                    console.log('App Insights is NOT available');
                }
            });
        }
        const leaderboardCard = document.querySelector('#dc-leaderboard-forum-card-click .dc-leaderboard-card-link');
          
          if (leaderboardCard) {
            leaderboardCard.addEventListener('click', function (event) {
              const tabName = leaderboardCard.innerText.trim();
    
              if (typeof appInsights !== 'undefined') {
                appInsights.trackEvent({
                  name: tabName + " link clicked",
                  properties: {
                    tabName: tabName,
                    linkId: leaderboardCard.id || "no-id",
                    page: window.location.pathname
                  }
                });
              } else {
                console.log('App Insights is NOT available');
              }
            });
          }
    
    
    });
    
    </script>
                        
                    </div>
                </div>
            </div>
        </div>
    </div> 
    
    <script>
    
    
    
        var discussionthreadid = '10044beb-677e-4882-8798-a253f5c8e0a1'; 
        var shareselector = "#forumthread_share";
        const currentUrl = window.location.href;
        window.addEventListener("load", (event) => {
            if(currentUrl.indexOf('action=reply') !== -1) {
                var replyTab = document.getElementById('replytabs');
                if (replyTab) {
                    setTimeout(function () {
                        $('#forum-post-reply-id').first().click();
                        replyTab.scrollIntoView(false);
                    }, 1000);
                }
            }
        }); 
    </script>
    <!-- Start JS script for dynamic height for forum subject -->
    
    <script>
    window.onresize = function() {
    GetEqualHeights_Forum();
    };
    
    $(document).ready(function(){
    GetEqualHeights_Forum();
    });
    function GetEqualHeights_Forum(){ 
    var element = document.getElementById('post-title-content');
    element.style.height = null;
       var height = $("#post-title-content").height();
       var fontSize = $("#post-title-content").css('font-size');
       var lineHeight = Math.floor(parseInt(fontSize.replace('px','')) * 1.5);
       var lines=Math.ceil(height / lineHeight); 
       if(lines==1)
       {
        document.getElementById('post-title-content').setAttribute("style","height:49px");
       }
       else{
        document.getElementById('post-title-content').setAttribute("style","height:auto");
       }
      }
    
    //Share popup dynamic left position
    $('html').on('click', function(e) {
         if(!$(e.target).parents().is('.popover.in')){  
            let spanReportPosition = $('.form-thread-follow > span').last().position();
            let spanReportPositionLeft = Math.floor(spanReportPosition.left - 55);
            let propShareLeft = 'left : ' + spanReportPositionLeft + 'px !important;';  
            $('.followDiv.form-thread-follow .popover.right>.arrow').attr("style", propShareLeft); 
         } 
      });
    //Share popup dynamic left position ends 
    
    
    
    var dateFormat = "DD MMM YYYY";
    var timeFormat = "HH:mm:ss";
    </script>
    
    <!-- End JS script for dynamic height for forum subject -->
    <script> 
    var subscribeText = "Subscribe to all";
    var unSubscribeText = "Unsubscribe to all";
    var cmty_UnsubscribeCardTitle = "You are subscribed to this forum!";
    var cmty_SubscribeCardTitle = "Subscribe to this forum!";
    var cmty_threadIsapproved = "true"; 
    var cmty_isCommentApproveFalse = "false";
    var forumCategorypopoverContent = `Learn more about your <a href="https://aka.ms/d365comm_notifications_subscriptions" class="msd-btn msd-btn-primary learn-more-link msd-d-none" aria-label="Learn More" role="button">notifications and subscriptions</a>`;
    var subscribeTextDeatil = "Subscribe";
    var unSubscribeTextDeatil = "Unsubscribe";
    var isSuperOrModerateUser;
    </script>
    
            <script>
                isSuperOrModerateUser = false;
            </script>
         
    <script src="/forums/thread/js_forum_category_subscribe.js?v=0.69"></script>
    
    <!--<script src="/forums/thread/js_forum_subcribe_module.js?v=5"></script>-->
    <!--script src="/js_Community_common.js"></script-->
    <script src="/js_Discussion_Comment_Generic_Pagination.js"></script> 
    <script src="/forums/thread/details/js_premoderaion_post_comment.js"></script>
    <style>
        .highighttab {
            border-bottom: 2px solid var(--cmty-dymamics-primary);
        } 
    </style>
    
    
    
    
    
    
    
    
    
    <link rel="stylesheet" href="/forums/thread/details/sharepopup.css"/>
    <script type="text/javascript">
    var currenttargetId = "";
    $(document).ready(function(){
    if(('#forumthread_share' == '')){
        throw "shareselector variable should be added on the page with share control selector value.";
    }
    
    $('#forumthread_share').popover({
        html: true, 
        trigger: 'click',
        title:"",
        placement:'bottom',
        sanitize: false,
        template: '<div class="popover dc-popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title hidden"></h3><div class="popover-content dc-share-container"><p></p></div></div></div>',
     content: function() {
              var shareDialogHtml="";
              shareDialogHtml += '<a href="javascript:void(0)" onclick="javascript:ClosePopup()" id="share-close" role="button" aria-label="Close popup" class="divShareClose"><img title="Share close" class="clickable" src="/forums/thread/details/close.png" /></a>';
              shareDialogHtml += '<div id="share-container">';
              shareDialogHtml += '<h4 id="share_title">Share this Thread</h4>';
              shareDialogHtml += '<div class="circle_Border1"><a href="javascript:void(0)" onclick="javascript:openFacebookShareWindow(`/forums/thread/details/?threadid=10044beb-677e-4882-8798-a253f5c8e0a1`)" role="button" aria-label="Share on Facebook" id="share-facebook"><img title="Share on Facebook" alt="Share on Facebook" src="/facebook.png" /></a></div>';
              shareDialogHtml += '<div class="circle_Border2"><a href="javascript:void(0)" onclick="javascript:openTwitterShareWindow(`/forums/thread/details/?threadid=10044beb-677e-4882-8798-a253f5c8e0a1`)" role="button" aria-label="Share on Twitter" id="share-twitter"><img title="Share on Twitter" alt="Share on Twitter" src="/twitter.png" /></a></div>';
              shareDialogHtml += '<div class="circle_Border3"><a href="javascript:void(0)" onclick="javascript:openLinkedinShareWindow(`/forums/thread/details/?threadid=10044beb-677e-4882-8798-a253f5c8e0a1`)" role="button" aria-label="Share on Linkedin" id="share-linkedin"><img title="Share on Linkedin" alt="Share on Linkedin" src="/linkedin.png" /></a></div>';
              shareDialogHtml += '<div class="div_copyurl"><span>Or copy link</span><div class="share-link-container"><input aria-label="copy link" type="text" id="input_url" value="'+ window.location.origin + '/forums/thread/details/?threadid=10044beb-677e-4882-8798-a253f5c8e0a1' +'" readonly/><button type="button" onclick="javascript:copyToClipboard(`/forums/thread/details/?threadid=10044beb-677e-4882-8798-a253f5c8e0a1`)" id="copy-clipboard" tabindex="0" >Copy</button></div></div>';
              shareDialogHtml += '</div>';
    
              return shareDialogHtml;
            }
    });
    
    $('#forumthread_share').on('inserted.bs.popover', function () {
        $( "input[id^='popover']" ).attr("style","top: 85.925px; left: 1091.12px; display: block;");
    });
    
    
    $('html').on('click', function(e) {
         if(!$(e.target).parents().is('.popover.in')){
             var currentPopOverId = $(e.target).attr('aria-describedby');
             currenttargetId = $(e.target).attr('id');
             if(typeof  $(e.target).attr('aria-describedby') == 'undefined'){
                currentPopOverId = $(e.target).parent().attr('aria-describedby');
              }
             $('[aria-describedby*="popover"]').not("[aria-describedby|="+currentPopOverId+"]").popover('hide');
         }
          if (typeof $(e.target).data('original-title') == 'undefined' &&
            typeof $(e.target).parent().data('original-title') == 'undefined' &&
             !$(e.target).parents().is('.popover.in')) {
                $('[aria-describedby]').popover('hide');
          }
        });
    $('body').on('hidden.bs.popover', function (e) {
            $(e.target).data("bs.popover").inState.click = false;
    });
    
    $(document).keydown(function(e) {
        if (e.keyCode == 27) {
            $(".popover").removeClass("in");
            $(".popover").addClass("out");
            $("#" + currenttargetId).focus(); 
        }
    });
    
    });
    
    
      function openLinkedinShareWindow(targetUrl) {
          window.open('http://www.linkedin.com/shareArticle?mini=true&title=' + encodeURIComponent(document.title) + '&url=' + encodeURIComponent(window.location.origin + targetUrl), '_blank', 'width=650,height=420');
          return false;
      }
    
      function openTwitterShareWindow(targetUrl) {
          window.open('http://twitter.com/share?text=' + encodeURIComponent(document.title) + '&url=' + window.location.origin + targetUrl + '&tweeter', '_blank', 'width=650,height=420');
          return false;
      }
    
      function copyToClipboard(targetUrl) {
          navigator.clipboard.writeText(window.location.origin + targetUrl);
          $("#share-container .div_copyurl>span").html("Copied");
          return false;
      }
    
      function openFacebookShareWindow(targetUrl) {
          window.open('http://facebook.com/sharer/sharer.php?u=' + encodeURIComponent(window.location.origin + targetUrl), '_blank', 'width=650,height=420');
          return false;
      }
    
      function ClosePopup(){
          $(".popover").removeClass("in");
          $(".popover").addClass("out");
          $("#" + currenttargetId).focus(); 
      }
    </script>
    <script type="text/javascript">
    !(function (cfg){function e(){cfg.onInit&&cfg.onInit(n)}var x,w,D,t,E,n,C=window,O=document,b=C.location,q="script",I="ingestionendpoint",L="disableExceptionTracking",j="ai.device.";"instrumentationKey"[x="toLowerCase"](),w="crossOrigin",D="POST",t="appInsightsSDK",E=cfg.name||"appInsights",(cfg.name||C[t])&&(C[t]=E),n=C[E]||function(g){var f=!1,m=!1,h={initialize:!0,queue:[],sv:"8",version:2,config:g};function v(e,t){var n={},i="Browser";function a(e){e=""+e;return 1===e.length?"0"+e:e}return n[j+"id"]=i[x](),n[j+"type"]=i,n["ai.operation.name"]=b&&b.pathname||"_unknown_",n["ai.internal.sdkVersion"]="javascript:snippet_"+(h.sv||h.version),{time:(i=new Date).getUTCFullYear()+"-"+a(1+i.getUTCMonth())+"-"+a(i.getUTCDate())+"T"+a(i.getUTCHours())+":"+a(i.getUTCMinutes())+":"+a(i.getUTCSeconds())+"."+(i.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z",iKey:e,name:"Microsoft.ApplicationInsights."+e.replace(/-/g,"")+"."+t,sampleRate:100,tags:n,data:{baseData:{ver:2}},ver:undefined,seq:"1",aiDataContract:undefined}}var n,i,t,a,y=-1,T=0,S=["js.monitor.azure.com","js.cdn.applicationinsights.io","js.cdn.monitor.azure.com","js0.cdn.applicationinsights.io","js0.cdn.monitor.azure.com","js2.cdn.applicationinsights.io","js2.cdn.monitor.azure.com","az416426.vo.msecnd.net"],o=g.url||cfg.src,r=function(){return s(o,null)};function s(d,t){if((n=navigator)&&(~(n=(n.userAgent||"").toLowerCase()).indexOf("msie")||~n.indexOf("trident/"))&&~d.indexOf("ai.3")&&(d=d.replace(/(\/)(ai\.3\.)([^\d]*)$/,function(e,t,n){return t+"ai.2"+n})),!1!==cfg.cr)for(var e=0;e<S.length;e++)if(0<d.indexOf(S[e])){y=e;break}var n,i=function(e){var a,t,n,i,o,r,s,c,u,l;h.queue=[],m||(0<=y&&T+1<S.length?(a=(y+T+1)%S.length,p(d.replace(/^(.*\/\/)([\w\.]*)(\/.*)$/,function(e,t,n,i){return t+S[a]+i})),T+=1):(f=m=!0,s=d,!0!==cfg.dle&&(c=(t=function(){var e,t={},n=g.connectionString;if(n)for(var i=n.split(";"),a=0;a<i.length;a++){var o=i[a].split("=");2===o.length&&(t[o[0][x]()]=o[1])}return t[I]||(e=(n=t.endpointsuffix)?t.location:null,t[I]="https://"+(e?e+".":"")+"dc."+(n||"services.visualstudio.com")),t}()).instrumentationkey||g.instrumentationKey||"",t=(t=(t=t[I])&&"/"===t.slice(-1)?t.slice(0,-1):t)?t+"/v2/track":g.endpointUrl,t=g.userOverrideEndpointUrl||t,(n=[]).push((i="SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)",o=s,u=t,(l=(r=v(c,"Exception")).data).baseType="ExceptionData",l.baseData.exceptions=[{typeName:"SDKLoadFailed",message:i.replace(/\./g,"-"),hasFullStack:!1,stack:i+"\nSnippet failed to load ["+o+"] -- Telemetry is disabled\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\nHost: "+(b&&b.pathname||"_unknown_")+"\nEndpoint: "+u,parsedStack:[]}],r)),n.push((l=s,i=t,(u=(o=v(c,"Message")).data).baseType="MessageData",(r=u.baseData).message='AI (Internal): 99 message:"'+("SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) ("+l+")").replace(/\"/g,"")+'"',r.properties={endpoint:i},o)),s=n,c=t,JSON&&((u=C.fetch)&&!cfg.useXhr?u(c,{method:D,body:JSON.stringify(s),mode:"cors"}):XMLHttpRequest&&((l=new XMLHttpRequest).open(D,c),l.setRequestHeader("Content-type","application/json"),l.send(JSON.stringify(s)))))))},a=function(e,t){m||setTimeout(function(){!t&&h.core||i()},500),f=!1},p=function(e){var n=O.createElement(q),e=(n.src=e,t&&(n.integrity=t),n.setAttribute("data-ai-name",E),cfg[w]);return!e&&""!==e||"undefined"==n[w]||(n[w]=e),n.onload=a,n.onerror=i,n.onreadystatechange=function(e,t){"loaded"!==n.readyState&&"complete"!==n.readyState||a(0,t)},cfg.ld&&cfg.ld<0?O.getElementsByTagName("head")[0].appendChild(n):setTimeout(function(){O.getElementsByTagName(q)[0].parentNode.appendChild(n)},cfg.ld||0),n};p(d)}cfg.sri&&(n=o.match(/^((http[s]?:\/\/.*\/)\w+(\.\d+){1,5})\.(([\w]+\.){0,2}js)$/))&&6===n.length?(d="".concat(n[1],".integrity.json"),i="@".concat(n[4]),l=window.fetch,t=function(e){if(!e.ext||!e.ext[i]||!e.ext[i].file)throw Error("Error Loading JSON response");var t=e.ext[i].integrity||null;s(o=n[2]+e.ext[i].file,t)},l&&!cfg.useXhr?l(d,{method:"GET",mode:"cors"}).then(function(e){return e.json()["catch"](function(){return{}})}).then(t)["catch"](r):XMLHttpRequest&&((a=new XMLHttpRequest).open("GET",d),a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE)if(200===a.status)try{t(JSON.parse(a.responseText))}catch(e){r()}else r()},a.send())):o&&r();try{h.cookie=O.cookie}catch(k){}function e(e){for(;e.length;)!function(t){h[t]=function(){var e=arguments;f||h.queue.push(function(){h[t].apply(h,e)})}}(e.pop())}var c,u,l="track",d="TrackPage",p="TrackEvent",l=(e([l+"Event",l+"PageView",l+"Exception",l+"Trace",l+"DependencyData",l+"Metric",l+"PageViewPerformance","start"+d,"stop"+d,"start"+p,"stop"+p,"addTelemetryInitializer","setAuthenticatedUserContext","clearAuthenticatedUserContext","flush"]),h.SeverityLevel={Verbose:0,Information:1,Warning:2,Error:3,Critical:4},(g.extensionConfig||{}).ApplicationInsightsAnalytics||{});return!0!==g[L]&&!0!==l[L]&&(e(["_"+(c="onerror")]),u=C[c],C[c]=function(e,t,n,i,a){var o=u&&u(e,t,n,i,a);return!0!==o&&h["_"+c]({message:e,url:t,lineNumber:n,columnNumber:i,error:a,evt:C.event}),o},g.autoExceptionInstrumented=!0),h}(cfg.cfg),(C[E]=n).queue&&0===n.queue.length?(n.queue.push(e),n.trackPageView({})):e();})({
      src: "https://js.monitor.azure.com/scripts/b/ai.3.gbl.min.js",
      // name: "appInsights", // Global SDK Instance name defaults to "appInsights" when not supplied
      // ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout,
      // useXhr: 1, // Use XHR instead of fetch to report failures (if available),
      // dle: true, // Prevent the SDK from reporting load failure log
      crossOrigin: "anonymous", // When supplied this will add the provided value as the cross origin attribute on the script tag
      // onInit: null, // Once the application insights instance has loaded and initialized this callback function will be called with 1 argument -- the sdk instance (DON'T ADD anything to the sdk.queue -- As they won't get called)
      // sri: false, // Custom optional value to specify whether fetching the snippet from integrity file and do integrity check
      cfg: { // Application Insights Configuration
        connectionString: "InstrumentationKey=7d6954a2-a79c-4fc5-9587-201ef82319b4;IngestionEndpoint=https://westus-0.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/;ApplicationId=2d763ecd-e89b-44b7-93ac-9f254fc93aa2"
    }});
    
        appInsights.clearAuthenticatedUserContext();
    
    </script>
    
    <script>
    var forumName = "Microsoft Dynamics 365 | Integration, Dataverse, and general topics";
    var forumId = "c6870716-4e87-ef11-ac21-7c1e520a09df";
    var groupId = "bcac2008-9686-ef11-ac21-7c1e520a09df"; 
    var groupName= "Microsoft Dynamics 365 | Integration, Dataverse, and general topics";
    var threadId="10044beb-677e-4882-8798-a253f5c8e0a1";
    appInsights.trackPageView({
        name: "My Forum Thread Detail Page",
        properties: {
            "forumName": forumName, 
            "forumId": forumId,
            "groupName": groupName,
            "groupId": groupId,
            "threadId": threadId
    }});
    </script>
    <script>
    document.addEventListener('DOMContentLoaded', function() {
      const breadcrumbEvents = document.querySelectorAll('.dc-link1');
      breadcrumbEvents.forEach(function(eventElement) {
        eventElement.addEventListener('click', function(event) {
    
          var tabName = eventElement.innerText.trim();
          if (typeof appInsights !== 'undefined') {  
            
            appInsights.trackEvent({
              name: "Breadcrumb Link is clicked for:" + tabName,
              properties: {
                tabName: tabName,
                linkId: eventElement.id, 
                page: window.location.pathname
              }
            });
          } else {
            console.log('App Insights is NOT available');
          }
        });
      });
          const forumName = document.querySelector('.forumClass');
          if (forumName) {
            forumName.addEventListener('click', function(event) {
              const linkElement = event.target.closest('a');
              if (linkElement) {
                var tabName = linkElement.innerText.trim();
                if (typeof appInsights !== 'undefined') {
                  appInsights.trackEvent({
                    name: "Forum link is Clicked in detail page for: " + tabName,
                    properties: {
                      tabName: tabName,
                      linkId: forumName.id,
                      page: window.location.pathname
                    }
                  });
                } else {
                  console.log('App Insights is NOT available');
                }
              }
            });
          }
           const editThreadButton = document.querySelector('.edit-discussion');
            if (editThreadButton) {
                editThreadButton.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Edit button of thread detail page is clicked",
                            properties: {
                                linkId: editThreadButton.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
    
            const likeButton = document.getElementById('forumthread_like');
            if (likeButton) {
                likeButton.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Like button of thread detail page is clicked",
                            properties: {
                                linkId: likeButton.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const postedbyName = document.querySelector('.thread-post-author');
            if (postedbyName) {
                postedbyName.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Posted by username link in detail page is clicked",
                            properties: {
                                linkId: postedbyName.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const shareButton = document.getElementById('forumthread_share');
            if (shareButton) {
                shareButton.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Share button of thread detail page is clicked",
                            properties: {
                                linkId: shareButton.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const reportButton = document.querySelector('.dc-report-container');
            if (reportButton) {
                reportButton.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Report button of thread detail page is clicked",
                            properties: {
                                linkId: reportButton.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const threadCategory = document.querySelector('.categorydiv');
            if (threadCategory) {
                threadCategory.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "Category button of thread detail page is clicked",
                            properties: {
                                linkId: threadCategory.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const replyThisPost = document.querySelector('.thread-reply-post-button');
            if (replyThisPost) {
                replyThisPost.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "'Reply to this post' button of thread detail page is clicked",
                            properties: {
                                linkId: replyThisPost.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const manageThisRecord = document.querySelector('.admin-app-manage-btn');
            if (manageThisRecord) {
                manageThisRecord.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "'Manage this record' button is clicked",
                            properties: {
                                linkId: manageThisRecord.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const AllResponcelink = document.getElementById('tabSubmitted');
            if (AllResponcelink) {
                AllResponcelink.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "'All responces' is clicked in thread detail page",
                            properties: {
                                linkId: AllResponcelink.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            const AnswerButton = document.getElementById('tabPublished');
            if (AnswerButton) {
                AnswerButton.addEventListener('click', function(event) {
                    if (typeof appInsights !== 'undefined') {
                        appInsights.trackEvent({
                            name: "'Answer' is clicked in thread detail page",
                            properties: {
                                linkId: AnswerButton.id,
                                page: window.location.pathname
                            }
                        });
                    } else {
                        console.log('App Insights is NOT available');
                    }
                });
            }
            
    
    });
    </script>
    
    
    	<script onerror="javascript: var target = event.target; var script = document.createElement('script'); script.crossOrigin = target.crossOrigin; script.src = '/dist/pcf-loader.bundle-f4a0e619b8.js'; script.type = 'text/javascript'; target.insertAdjacentElement('afterend',script);" src="https://content.powerapps.com/resource/powerappsportal/dist/pcf-loader.bundle-f4a0e619b8.js" type="text/javascript"></script>
    
    		
    		<script onerror="javascript: var target = event.target; var script = document.createElement('script'); script.crossOrigin = target.crossOrigin; script.src = '/dist/pvaembedded.bundle-1a2de2b259.js'; script.type = 'text/javascript'; target.insertAdjacentElement('afterend',script);" src="https://content.powerapps.com/resource/powerappsportal/dist/pvaembedded.bundle-1a2de2b259.js" type="text/javascript"></script>
    
    <!-- Power virtual agents web template V2.0-->
    
    
    
    
    
    <div class="pva-floating-style" style="position: absolute; z-index: 1000;">
        <div name="webChat"></div>
        <script type="text/javascript" id="pvaChatInlineScript">
            var botConfig = {"skillConfigViewName": "Community App For Dynamics 365 bot Answers", "botMaximizedByDefault" : "true",  "citationUrlParams" :  { "mspwrplt_cmty_discussionthread": "threadid","mspwrplt_cmty_blogpost": "postid" }};
            // Learn more about advanced configuration: https://go.microsoft.com/fwlink/?linkid=2147420
            const webChatHeaderStyleOptions = botConfig?.webChatHeaderStyleOptions;
            const webChatCanvasStyleOptions = botConfig?.webChatCanvasStyleOptions;
            const webChatWidgetStyleOptions = botConfig?.webChatWidgetStyleOptions;
            var botMaximizedByDefault = botConfig?.botMaximizedByDefault;
            var botTitle = botConfig?.headerText;
            var region = "prod";
            var botTemplate = "powerpages-1.0.0";
            var botAuthenticationMode = "4";
            var isNewWidget = "False";
    
            if(!botTitle || botTitle == undefined || botTitle == "" || botTitle.length == 0)
            {
               botTitle = "CommunityApp For Dynamics 365 bot";
            }
    
            if(!botMaximizedByDefault || botMaximizedByDefault == undefined)
            {
               botMaximizedByDefault = false;
            }
    
            let chatWidth = "320px";
            let chatHeight =  "500px";
            if (screen.width > 992) {
    	        chatWidth = "25%";
                chatHeight =  "80%";
            }
            window.PvaEmbeddedWebChat.renderWebChat(
            {
                "container": document.getElementsByName('webChat')[0],
                "botSchemaName": "cr5dc_76ff64d1-4765-4fe7-b797-499fd3196c8e",
                "environmentId": "f55e79bd-d8cb-4fbb-9be2-2cefd8cb3b83",
                "width": chatWidth,
                "height": chatHeight,
                "client": "msportals", // client and version is needed for the ease of future breaking changes
                "version": "v1",
                "headerText": botTitle,
                "webChatCanvasStyleOptions": webChatCanvasStyleOptions,
                "webChatHeaderStyleOptions": webChatHeaderStyleOptions,
                "webChatWidgetStyleOptions": webChatWidgetStyleOptions,
                "accessibilityLanguage": "en-US",
                "botMaximizedByDefault": botMaximizedByDefault,
                "region": region,
                "botTemplate": botTemplate,
                "botAuthenticationMode": botAuthenticationMode,
                "isNewWidget": isNewWidget
            });
        </script>
    </div>
    	
    
    	
    		<div id="pp-native-controls-react-root"></div>
    <script>window._nativeControlConfig = { "publicPath":"https://content.powerapps.com/resource/powerappsportal/controls", "versions": {"pcf_loader":"0.0.34","pcf_controls":"3.17.0","mf_shared":"0.2.14","host":"0.9.5","data_grid":"1.7.8","controls_fluent_v9":"0.0.37"} }</script>
    <script defer="defer" src="https://content.powerapps.com/resource/powerappsportal/controls/host/main.cb4b220e2c.chunk.js"></script>
    		
    	
    	
    		
    
    
    
    
    <script>
    	(function(webapi, $){
    		function safeAjax(ajaxOptions) {
    			var deferredAjax = $.Deferred();
    	
    			shell.getTokenDeferred().done(function (token) {
    				// add headers for ajax
    				if (!ajaxOptions.headers) {
    					$.extend(ajaxOptions, {
    						headers: {
    							"__RequestVerificationToken": token
    						}
    					}); 
    				} else {
    					ajaxOptions.headers["__RequestVerificationToken"] = token;
    				}
    				$.ajax(ajaxOptions)
    					.done(function(data, textStatus, jqXHR) {
    						validateLoginSession(data, textStatus, jqXHR, deferredAjax.resolve);
    					}).fail(deferredAjax.reject); //ajax
    			}).fail(function () {
    				deferredAjax.rejectWith(this, arguments); // on token failure, pass the token ajax and args
    			});
    	
    			return deferredAjax.promise();	
    		}
    		webapi.safeAjax = safeAjax;
    })(window.webapi = window.webapi || {}, jQuery)
    </script>
    
    
    
     <div class="xrm-editable-html xrm-attribute" data-languageContext="English"><div class="xrm-attribute-value">
    
    
    
    
    
    
    
    
    
    
    
    
    </div></div>
    
    
    <!-- ADO#3768847 Common template for FCB name and portal ID to get the value [START] -->
    
    
    
    
    
    <!-- Get portal domain name from the website ID  [END] -->
    
     
    
    
    
    
    
     
    
    
    
    
    <!-- ADO#3768847 Common template for FCB name and portal ID to get the value [START] -->
    
    <style>
    .bapi-common-footer .bapi-row, .bapi-common-footer .bapi-row + div {   
        margin: 0 3.2%;
        padding: 0 0.9735rem;
    }
    @media only screen and (min-width: 1024px) {
        .ask-button-mobile, .profile-hide-for-large_view,.user-signin-component {
           display:none;
        }
        .msd-notifications{display: none !important;}
    }
    @media only screen and (max-width: 640px) {
      .ask-button-mobile{
           display:none;
        }
      .ask-question-btn-small-device{
            width: 100%;
        }
      .bapi-top-bar__logo > a > img{
           max-width: inherit !important
        }
    }
    
    @media only screen and (min-width: 640px) {
       .ask-button-small-device{
           display:none;
      }
    }
    
    @media only screen and (max-width: 1440px) {
        .dc-logged-user-name,.mectrl_header_text{
           display:none;
        }
    }
    
    @media only screen and (min-width: 1024px)  and (max-width: 1440px) {
        .nav-items-right-container{
            width: 32%;
            display: flex !important;
            justify-content: flex-end;
        }
    
       .bapi-header--sticky>div>#top-nav>ul>li>#buttonInHeader{
           display:none;
        }
    
       .hero-banner,.dc-breadcrumb1,.dc-forums-thread-breadcrumb,.dc-breadcrumb{
             margin-top:36px;
         }
       .msd-preview-banner{
             margin-top: 75px;
        }
    }
    
    .gs-search-box-container>.dc-explore-search>input.search-textbox{
    height: 44px !important;
    }
    
    .ask-button-mobile{
         margin-top: 12px;
      }
    </style>
    
    
    
    <!-- Note: The script should always be consumed directly from the URL above and should not be bundled into any packages!
        The reason is there is geo-sensitive logic in the CDN, which will return different content.
        -->
    <script>
        WcpConsent = {};
    </script>
    <!-- Cookie Banner Placeholder-->
    <script src="https://wcpstatic.microsoft.com/mscc/lib/v2/wcp-consent.js"></script>
    
    
    <script>
        (function (WcpConsent, $, global) {
            "use strict";
    
            var culture = "en-us";
    
            if (!$ || !WcpConsent || !WcpConsent.name) return;
    
            function onConsentChanged(e) {
                if (!window.siteConsent.isConsentRequired) return;
    
                if (global && global.CookieHelper && global.CookieHelper.cleanNonEssentialCookies) {
                    global.CookieHelper.cleanNonEssentialCookies();
                }
    
                window.location.reload();
    
                $('html, body').animate({ scrollTop: 0 }, 'slow');
            }
    
            $(document).ready(function () {
                $("#footer-nav-ManageCookies").click(function (ev) {
                    ev.preventDefault();
                    if (window && window.siteConsent && window.siteConsent.manageConsent) {
                        window.siteConsent.manageConsent();
                    }
                });
    
                WcpConsent.init(culture, "cookie-banner", function (err, _siteConsent) {
                    if (typeof err !== "undefined") {
                        if (appInsights && appInsights.trackException) {
                            appInsights.trackException({
                                exception: err,
                            });
                        }
    
                        return;
                    }
                    else {
                        window.siteConsent = _siteConsent;
                        // if consentRequired is true, we will show the manage cookies
                        if (window.siteConsent.isConsentRequired) {
                            if ($("#footer-nav-ManageCookies") && $("#footer-nav-ManageCookies").length) {
                                $("#footer-nav-ManageCookies").removeClass("hide");
                            }
    
                            if ($("#wcpConsentBannerCtrl") && $("#wcpConsentBannerCtrl").length) {
                                $('html, body').animate({ scrollTop: 0 }, 'slow');
                            }
    
                            if (global && global.CookieHelper && global.CookieHelper.cleanNonEssentialCookies) {
                                global.CookieHelper.cleanNonEssentialCookies();
                            }
                        }
                    }
                }, onConsentChanged);
            });
        })(WcpConsent, jQuery, window);
    </script>
    <footer class="bapi-common-footer">
    
        <!-- Render Level 2 Footer Navs -->
        <div class="bapi-row">
            <div class="bapi-column bapi-column--one-half">
                <ul class="bapi-link-list bapi-link-list--copyright">
                    <li>© <span id="copyright-year"></span> Microsoft</li>
                </ul>
                <!-- Follow social links go here-->
            </div>
                    <div class="bapi-column bapi-column--one-half">
                        <ul class="bapi-link-list bapi-link-list--horizontal-on-medium bapi-pull-right-on-medium">
                                    <li>
                                        <a href="" data-bi-name="Manage Cookies"
                                           class="f-link hide" id="footer-nav-ManageCookies" aria-label="Manage Cookies">
                                            Manage Cookies
                                        </a>
                                    </li>  
                                    <li>
                                        <a href="https://go.microsoft.com/fwlink/?LinkId=248681&clcid=0x409" data-bi-name="Privacy & cookies"
                                           class="f-link show" id="footer_nav-1_Privacy & cookies" aria-label="Privacy & cookies">
                                            Privacy & cookies
                                        </a>
                                    </li>
                                    <li>
                                        <a href="https://go.microsoft.com/fwlink/?LinkId=206977&clcid=0x409" data-bi-name="Terms of use"
                                           class="f-link show" id="footer_nav-1_Terms of use" aria-label="Terms of use">
                                            Terms of use
                                        </a>
                                    </li>
                                    <li>
                                        <a href="https://www.microsoft.com/trademarks" data-bi-name="Trademarks"
                                           class="f-link show" id="footer_nav-1_Trademarks" aria-label="Trademarks">
                                            Trademarks
                                        </a>
                                    </li>
                                <!-- Countries list renders here-->
                        </ul>
                    </div>
        </div>
    <div class="bapi-row">
            <a id="footer_nav_your-california-privacy-choices" data-bi-id="footer_nav_your-california-privacy-choices"
               data-bi-name="Your Privacy Choices" style="display: inline-flex;align-items: center;color: #000;text-decoration: underline;" href="https://aka.ms/yourcaliforniaprivacychoices">
                <svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" style="height: 16px;">
                <title>Your Privacy Choices Opt-Out Icon
                
                
                
                
                                                    
                Your Privacy Choices
            
    
            
                Consumer Health Privacy