text:
[EventRequest] Codeunit 31000 "Sales-Post Advances".OnBeforePostPaymentCorrection

Please add new parameter to event
   [IntegrationEvent(false, false)]
    //----------------------------------------OnBeforePostPaymentCorrection:BEGIN
    //local procedure OnBeforePostPaymentCorrection(SalesInvHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var TempCustLedgEntry: Record "Cust. Ledger Entry" temporary; var TempSalesAdvanceLetterHeader: Record "Sales Advance Letter Header" temporary; var DocNoForVATCorr: Code[20]; var InvoicedAmount: Decimal; var IsHandled: Boolean)
    local procedure OnBeforePostPaymentCorrection(SalesInvHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var TempCustLedgEntry: Record "Cust. Ledger Entry" temporary; var TempSalesAdvanceLetterHeader: Record "Sales Advance Letter Header" temporary; var DocNoForVATCorr: Code[20]; var InvoicedAmount: Decimal; var IsHandled: Boolean; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
    //----------------------------------------OnBeforePostPaymentCorrection:END
    begin
    end;

   procedure PostInvoiceCorrection(var SalesHeader2: Record "Sales Header"; SalesInvHeader: Record "Sales Invoice Header"; var SalesLine: Record "Sales Line"; var GenJnlPostLine2: Codeunit "Gen. Jnl.-Post Line"; var InvoicedAmount: Decimal)
    var
        TempCustLedgEntry: Record "Cust. Ledger Entry" temporary;
        TempSalesAdvanceLetterHeader2: Record "Sales Advance Letter Header" temporary;
        SalesAdvanceLetterHeader: Record "Sales Advance Letter Header";
        DocNoForVATCorr: Code[20];
        IsHandled: Boolean;
    begin
        GenJnlPostLine := GenJnlPostLine2;
        SalesHeader := SalesHeader2;
        SetCurrencyPrecision(SalesHeader."Currency Code");
        GLSetup.Get();
        SalesSetup.Get();
        TempCustLedgEntry.DeleteAll();

        SalesLine.Reset();
        SalesLine.SetRange("Document Type", SalesHeader."Document Type");
        SalesLine.SetRange("Document No.", SalesHeader."No.");
        SalesLine.SetFilter("Qty. to Invoice", '<>0');
        IsHandled := false;
        //----------------------------------------OnBeforePostPaymentCorrection:BEGIN
        //OnBeforePostPaymentCorrection(SalesInvHeader, SalesHeader, SalesLine, TempCustLedgEntry, TempSalesAdvanceLetterHeader2, DocNoForVATCorr, InvoicedAmount, IsHandled);
        OnBeforePostPaymentCorrection(SalesInvHeader, SalesHeader, SalesLine, TempCustLedgEntry, TempSalesAdvanceLetterHeader2, DocNoForVATCorr, InvoicedAmount, IsHandled, GenJnlPostLine);
        //----------------------------------------OnBeforePostPaymentCorrection:END
        if not IsHandled then
            case SalesHeader."Document Type" of
                SalesHeader."Document Type"::Order:
                    begin
                        SalesLine.SetFilter("Prepmt Amt to Deduct", '<>0');
                        if SalesLine.FindSet(true) then
                            repeat
                                PostInvLineCorrection(
                                SalesLine, SalesInvHeader, TempCustLedgEntry, DocNoForVATCorr,
                                InvoicedAmount, TempSalesAdvanceLetterHeader2);
                            until SalesLine.Next() = 0;
                        with SalesHeader do begin
                            SalesLine.Reset();
                            SalesLine.SetRange("Document Type", "Document Type");
                            SalesLine.SetRange("Document No.", "No.");
                            SalesLine.SetFilter("Prepmt. Line Amount", '<>0');
                            if SalesLine.FindSet(true) then
                                repeat
                                    UpdateOrderLine(SalesLine, "Prices Including VAT", false);
                                    SalesLine.Modify();
                                until SalesLine.Next() = 0;
                        end;
                    end;
                SalesHeader."Document Type"::Invoice:
                    begin
                        SalesLine.SetFilter("Prepmt Amt to Deduct", '<>0');
                        if SalesLine.FindSet(true) then
                            repeat
                                PostInvLineCorrection(
                                SalesLine, SalesInvHeader, TempCustLedgEntry, DocNoForVATCorr,
                                InvoicedAmount, TempSalesAdvanceLetterHeader2);
                            until SalesLine.Next() = 0;
                    end;
            end;
        PostPaymentCorrection(SalesInvHeader, TempCustLedgEntry);

        if TempSalesAdvanceLetterHeader2.FindSet then
            repeat
                SalesAdvanceLetterHeader.Get(TempSalesAdvanceLetterHeader2."No.");
                SalesAdvanceLetterHeader.UpdateClosing(true);
            until TempSalesAdvanceLetterHeader2.Next() = 0;
        SalesHeader2 := SalesHeader;
        GenJnlPostLine2 := GenJnlPostLine;
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

authors: JesperSchulz fridrichovsky


text:
[Request for external] Page 11000001 "Telebank Proposal" (NL Localization)

hey AL gurus,
Could you please make variable BankAccFilter as protected within page 11000001  (NL localization), so we could access it's value?
Best Regards,
Gintautas

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 41864.

source: gharchive/issue

authors: JesperSchulz gntpet

repo: microsoft/ALAppExtensions

license: MIT

license_type: permissive

license_source: github-api


text:
[Event Request] Codeunit 228 "Test Report-Print" - procedure PrintVATStmtLine - OnPrintVATStmtLineOnBeforeRunReport

Please add an Event OnPrintVATStmtLineOnBeforeRunReport in PrintVATStmtLine in Codeunit 228 "Test Report-Print"
PrintVATStmtLine(var NewVATStatementLine: Record "VAT Statement Line")
var
IsHandled: Boolean; <-- NEW VAR
    begin
        VATStmtLine.Copy(NewVATStatementLine);
        VATStmtLine.SetRange("Statement Template Name", VATStmtLine."Statement Template Name");
        VATStmtLine.SetRange("Statement Name", VATStmtLine."Statement Name");
        VATStmtTmpl.Get(VATStmtLine."Statement Template Name");
        VATStmtTmpl.TestField("VAT Statement Report ID");

        IsHandled := false;
        OnPrintVATStmtLineOnBeforeRunReport(VATStmtTmpl,VATStmtLine,IsHandled); <-- NEW EVENT
        If not IsHandled then begin
            REPORT.Run(VATStmtTmpl."VAT Statement Report ID", true, false, VATStmtLine);
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnPrintVATStmtLineOnBeforeRunReport(VATStmtTmpl: Record "VAT Statement Template"; VATStmtLine: Record "VAT Statement Line"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42366.


text:
[Event Request] codeunit 6529 "Item Tracking Navigate Mgt." - OnBeforeFindJobLedgEntry

Reference to the old issue marked as complete:
https://github.com/microsoft/ALAppExtensions/issues/19905
Not included in the Build ID 51464 (Update 3 for BC 2022 Wave 2)
please include sender in the event OnBeforeFindJobLedgEntry
[IntegrationEvent(true, false)]
local procedure OnBeforeFindJobLedgEntry(var TempJobLedgEntry: Record "Job Ledger Entry" temporary; var ItemFilters: Record Item; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52728.

authors: JesperSchulz miljance


text:
codeunit 5057 "VendCont-Update" - InsertNewContact function

Hi,
Could you add OnAfterContactInsert event after Insert line in codeunit 5057 "VendCont-Update" - InsertNewContact function.
I need this because when I want to use OnAfterInsert events belongs to Contact table, it did not trigger from api pages.
Thank you.

Sure, if you provide event parameters

 OnAfterContactInsert(Cont,Vend);

[IntegrationEvent(true, false)]
local procedure OnAfterContactInsert(var Cont: Record "Contact"; var Vend: Record "Vendor")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11030.


text:
[Request for External] Page 354 Item Turnover Lines - make local proc public - ShowValueEntries

Describe the request
Could you please change the local procedure ShowValueEntries in the page 354 Item Turnover Lines to public.
You already did that for the procedure ShowItemEntries.
Thank you
Additional context
We want to call the function from our extension.
Internal work item: AB#560514

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 28339.


text:
Action.Submit not work in angular 6

Hello Developers,
I'm use adaptive card in angular 6 so action submit not working. Can you help any one to submit action and how to do work with and filtered data from AzureChatbot.
I used the following code but not working:
constructor() {
this.adaptiveCard = new AdaptiveCards.AdaptiveCard();

}

ngOnInit() {
// this.adaptiveCard = new AdaptiveCards.AdaptiveCard();
// this.adaptiveCard.hostConfig = new AdaptiveCards.HostConfig({
// fontFamily: "Segoe UI, Helvetica Neue, sans-serif"
// // More host config options
// });

// Set the adaptive card's event handlers. onExecuteAction is invoked
// whenever an action is clicked in the card
this.adaptiveCard.OnSubmit = function(action) { alert("Ow!"); }

// For markdown support you need a third-party library
// E.g., to use markdown-it, include in your HTML page:
// <script type="text/javascript" src="https://unpkg.com/markdown-it/dist/markdown-it.js"></script>
// And add this code to replace the default markdown handler:
// AdaptiveCards.processMarkdown = function(text) { return markdownit().render(text); }

// Parse the card payload
this.adaptiveCard.parse(this.cardsValue);

// Render the card to an HTML element:
this.renderCards = this.adaptiveCard.render();
this.cards.nativeElement.innerHTML=this.renderCards.innerHTML;

// this.innerHTMLVal=this.renderCards;
// this.item = this.renderCards;;
console.log('carddss');
console.log(this.renderCards)
console.log(this.cardsValue)
}

.....................................
{
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
        {
            "type": "TextBlock",
            "text": "Month"
        },
        {
            "type": "Input.ChoiceSet",
            "id": "month",
            "value": "1",
            "style": "compact",
            "isMultiSelect": false,
            "choices": [
                {
                    "title": "Jan",
                    "value": "Jan"
                },
                {
                    "title": "Feb",
                    "value": "Feb"
                },
                {
                    "title": "Mar",
                    "value": "Mar"
                },
                {
                    "title": "Apr",
                    "value": "Apr"
                },
                {
                    "title": "May",
                    "value": "May"
                },
                {
                    "title": "Jun",
                    "value": "Jun"
                },
                {
                    "title": "Jul",
                    "value": "Jul"
                },
                {
                    "title": "Aug",
                    "value": "Aug"
                },
                {
                    "title": "Sep",
                    "value": "Sep"
                },
                {
                    "title": "Oct",
                    "value": "Oct"
                },
                {
                    "title": "Nov",
                    "value": "Nov"
                },
                {
                    "title": "Dec",
                    "value": "Dec"
                }
            ],
            "placeholder": "select"
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "data": {
                "type": "submit"
            },
            "title": "Submit"
        }
    ]
}

this json strigy data use to create adaptive card...card created successfully but submit action not working.

hi @lokeshbansal1993, I think at some point you renamed onExecuteAction to OnSubmit
Try changing:
adaptiveCard.OnSubmit = function(action) { alert("Ow!"); }

to
adaptiveCard.onExecuteAction = function(action) { alert("Ow!"); }

hi @lokeshbansal1993, I think at some point you renamed onExecuteAction to OnSubmit
Try changing:
adaptiveCard.OnSubmit = function(action) { alert("Ow!"); }

to
adaptiveCard.onExecuteAction = function(action) { alert("Ow!"); }

I tried this but not work..please other approach.

Please help me with this issue. Actually, I already try this OnSubmit but not work. can you suggest any other approaches?
Thanks for reply

@lokeshbansal1993 Matt's suggestion is correct. You need to set the onExecuteAction handler. OnSubmit doesn't exist. Your code should look something like this (in TypeScript, assuming you have importaed adaptivecards under the Adaptive namespace):
import * as AdaptiveCards from "adaptivecards";

...

this.adaptiveCard.onExecuteAction = function(action: AdaptiveCards.Action) {
  if (action instanceof AdaptiveCards.SubmitAction) {
    // Do whatever you need to do. This example displays the value of the data property:
    alert(JSON.stringify(action.data));
  }
}

@lokeshbansal1993 Matt's suggestion is correct. You need to set the onExecuteAction handler. OnSubmit doesn't exist. Your code should look something like this (in TypeScript, assuming you have importaed adaptivecards under the AdaptiveCards namespace):
import * as AdaptiveCards from "adaptivecards";

...

this.adaptiveCard.onExecuteAction = function(action: AdaptiveCards.Action) {
  if (action instanceof AdaptiveCards.SubmitAction) {
    // Do whatever you need to do. This example displays the value of the data property:
    alert(JSON.stringify(action.data));
  }
}

If the above doesn't work, please share what the error is or anything that can help us understand what's going wrong, thanks.

Hi DcLaux,
Thanks for giving me solutions and your efforts but it's not work.
see the code i used this:

import { Component, OnInit,Input, Output, EventEmitter, OnChanges, ViewChild, ElementRef } from '@angular/core';
import * as AdaptiveCards from "adaptivecards";
import * as $ from 'jquery';
@Component({
selector: 'app-cards',
templateUrl: './cards.component.html',
styleUrls: ['./cards.component.css']
})
export class CardsComponent implements OnInit {
@Input() cardsValue;
public adaptiveCard;
public renderCards;
public innerHTMLVal;
@ViewChild('cards') cards: ElementRef;
public item: HTMLElement;
constructor() {
this.adaptiveCard = new AdaptiveCards.AdaptiveCard();
}
ngOnInit() {
// this.adaptiveCard = new AdaptiveCards.AdaptiveCard();
//   	this.adaptiveCard.hostConfig = new AdaptiveCards.HostConfig({
//     fontFamily: "Segoe UI, Helvetica Neue, sans-serif"
//     // More host config options
// });
// Set the adaptive card's event handlers. onExecuteAction is invoked
// whenever an action is clicked in the card
this.adaptiveCard.onExecuteAction = function(action: AdaptiveCards.Action) {
if (action instanceof AdaptiveCards.SubmitAction) {
// Do whatever you need to do. This example displays the value of the data property:
alert(JSON.stringify(action.data));
}
}
// For markdown support you need a third-party library
// E.g., to use markdown-it, include in your HTML page:
//
// And add this code to replace the default markdown handler:
//     AdaptiveCards.processMarkdown = function(text) { return markdownit().render(text); }
// Parse the card payload
this.adaptiveCard.parse(this.cardsValue);
// let action = this.cardsValue[0].type
//  console.log(a)
// Render the card to an HTML element:
this.renderCards = this.adaptiveCard.render();
this.cards.nativeElement.innerHTML=this.renderCards.innerHTML;
// console.log(a.actions)
// this.innerHTMLVal=this.renderCards;
//  this.item = this.renderCards;;
// console.log('carddss');
// console.log(this.renderCards.actions)
//       console.log(this.cardsValue)
//       console.log(JSON.stringify(this.cardsValue))
}
}
please  help me  for accroding to this code

I'm really not quite sure what to say. It does work, I just tested it a moment ago to double check, using your card payload. Are you getting an error? If so what is it? Can you share what you see in the debug console?

can you please help me?
I want to how to use form type adaptive card in angular6 js and send what
type of data to get filter result from a chatbot.
On Mon, Dec 3, 2018 at 10:23 PM David Claux notifications@github.com
wrote:

I'm really not quite sure what to say. It does work, I just tested it a
moment ago to double check, using your card payload. Are you getting an
error? If so what is it? Can you share what you see in the debug console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AdaptiveCards/issues/2186#issuecomment-443782528,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AinMSDD32Fs9ISKQdIGuFq0cCm7xan2qks5u1VcXgaJpZM4Yykoc
.

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

I am happy to help, but you are not providing enough information. I am not able to reproduce the problem on my side, and have asked if you could send details about the possible errors you are getting from the browser's debug console.

Hi David,
Thank you so much for your help
Actually, I want to use adaptive cards in angular6. now we can show
adaptive cards on the frontend but when show as a form adaptive cards but
..don't know what approach use to submit the form. actually, form
submission not working in angular 6. can you share an example of angular 6
with form submission in adaptive cards.
so please share any help code to help.
On Tue, Dec 11, 2018 at 9:53 PM David Claux notifications@github.com
wrote:

I am happy to help, but you are not providing enough information. I am not
able to reproduce the problem on my side, and have asked if you could send
details about the possible errors you are getting from the browser's debug
console.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AdaptiveCards/issues/2186#issuecomment-446264911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AinMSNlrA5ZinS1ZRHHqoic9jYneYVxHks5u39vvgaJpZM4Yykoc
.

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

Hi David,
Thank you so much for your help
Now action submits work fine. thanks.
Now after submitting action what data send to chatbot API. please help with
that.
Thank you so much again :)
On Wed, Dec 12, 2018 at 12:14 PM Lokesh Bansal lokesh@vidhema.com wrote:

Hi David,
Thank you so much for your help
Actually, I want to use adaptive cards in angular6. now we can show
adaptive cards on the frontend but when show as a form adaptive cards but
..don't know what approach use to submit the form. actually, form
submission not working in angular 6. can you share an example of angular 6
with form submission in adaptive cards.
so please share any help code to help.
On Tue, Dec 11, 2018 at 9:53 PM David Claux notifications@github.com
wrote:

I am happy to help, but you are not providing enough information. I am
not able to reproduce the problem on my side, and have asked if you could
send details about the possible errors you are getting from the browser's
debug console.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AdaptiveCards/issues/2186#issuecomment-446264911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AinMSNlrA5ZinS1ZRHHqoic9jYneYVxHks5u39vvgaJpZM4Yykoc
.

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

hi Lokesh, I am facing same problem, how did u solve the action.submit issue?

hi Lokesh, I am facing same problem, how did u solve the action.submit issue?

Same here, with Angular 7, buttons are dead ... Any solution ?

@lokeshbansal1993 FYI-  mind helping out @Sushil1091Jes ?

Can you sent your code for me then give to best solution.?
Actually I explored this issue takes more time but will do this.
On Thu 27 Jun, 2019, 5:27 AM shalinijoshi19 <notifications@github.com wrote:

@lokeshbansal1993 https://github.com/lokeshbansal1993 FYI- mind helping
out @Sushil1091Jes https://github.com/Sushil1091Jes ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AdaptiveCards/issues/2186?email_source=notifications&email_token=AIU4YSEYLZLLSMLN3EFN3GTP4P66NA5CNFSM4GGKJIOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYVEHSY#issuecomment-506086347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU4YSBSXCBTJTLE47JW7TDP4P66NANCNFSM4GGKJIOA
.

Can you sent your code for me then give to best solution.?
Actually I explored this issue takes more time but will do this.
On Tue 11 Dec, 2018, 6:11 PM Lokesh Bansal <lokesh@vidhema.com wrote:

can you please help me?
I want to how to use form type adaptive card in angular6 js and send what
type of data to get filter result from a chatbot.
On Mon, Dec 3, 2018 at 10:23 PM David Claux notifications@github.com
wrote:

I'm really not quite sure what to say. It does work, I just tested it a
moment ago to double check, using your card payload. Are you getting an
error? If so what is it? Can you share what you see in the debug console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AdaptiveCards/issues/2186#issuecomment-443782528,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AinMSDD32Fs9ISKQdIGuFq0cCm7xan2qks5u1VcXgaJpZM4Yykoc
.

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

i want to integrate the adaptive cards in angular, can you please share the code ?

this.adaptiveCard.parse(this.cardsValue);
// let action = this.cardsValue[0].type
// console.log(a)
// Render the card to an HTML element:
this.renderCards = this.adaptiveCard.render();
// this.cards.nativeElement.innerHTML=this.renderCards.innerHTML;
this.renderer.appendChild(this.cards.nativeElement, this.renderCards);
this.adaptiveCard.onExecuteAction = (action) => {
// alert(JSON.stringify(action.data));
console.log('Action');
console.log(action.data);
};
On Tue, Jul 2, 2019 at 4:33 PM SriRakesh notifications@github.com wrote:

i want to integrate the adaptive cards in angular, can you please share
the code ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AdaptiveCards/issues/2186?email_source=notifications&email_token=AIU4YSAJJWJAVPIBEJTCAX3P5MYYDA5CNFSM4GGKJIOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZA4SHQ#issuecomment-507627806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU4YSFGC7OZQBKSRNMZY63P5MYYDANCNFSM4GGKJIOA
.

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

this.adaptiveCard.parse(this.cardsValue); // let action = this.cardsValue[0].type // console.log(a) // Render the card to an HTML element: this.renderCards = this.adaptiveCard.render(); // this.cards.nativeElement.innerHTML=this.renderCards.innerHTML; this.renderer.appendChild(this.cards.nativeElement, this.renderCards); this.adaptiveCard.onExecuteAction = (action) => { // alert(JSON.stringify(action.data)); console.log('Action'); console.log(action.data); };
…
On Tue, Jul 2, 2019 at 4:33 PM SriRakesh @.***> wrote: i want to integrate the adaptive cards in angular, can you please share the code ? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2186?email_source=notifications&email_token=AIU4YSAJJWJAVPIBEJTCAX3P5MYYDA5CNFSM4GGKJIOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZA4SHQ#issuecomment-507627806>, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU4YSFGC7OZQBKSRNMZY63P5MYYDANCNFSM4GGKJIOA .
-- Best regards, Lokesh Kumar Sr. Software Engineer

Hai Lokesh,
This is my code, i need to perform Action for 'Action.Submit' and 'Action.OpenUrl'. So, do you know how can i do that.
import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';
import * as AdaptiveCards from "adaptivecards";
import { HttpClient } from '@angular/common/http';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
cards: any;
output: any;
textArea: any;
@ViewChild('adaptiveCards')
AdaptiveCards: ElementRef;
constructor(private http: HttpClient) {
this.cards = new AdaptiveCards.AdaptiveCard();
}
ngOnInit() {
}
onClickConvert(json: any) {
let jsonText = JSON.parse(json.value);
console.log(jsonText)
this.cards.parse(jsonText);
console.log(this.cards);
this.output = this.cards.render();
console.log(this.output);
this.AdaptiveCards.nativeElement.innerHTML = this.output.innerHTML;
}
}

this.AdaptiveCards.nativeElement.innerHTML = this.output.innerHTML;
this line replace by this
this.renderer.appendChild(this.AdaptiveCards.nativeElement,  this.output.);
then you can try
On Tue, Jul 2, 2019 at 7:05 PM SriRakesh notifications@github.com wrote:

this.adaptiveCard.parse(this.cardsValue); // let action =
this.cardsValue[0].type // console.log(a) // Render the card to an HTML
element: this.renderCards = this.adaptiveCard.render(); //
this.cards.nativeElement.innerHTML=this.renderCards.innerHTML;
this.renderer.appendChild(this.cards.nativeElement, this.renderCards);
this.adaptiveCard.onExecuteAction = (action) => { //
alert(JSON.stringify(action.data)); console.log('Action');
console.log(action.data); };
… <#m_-783076987816765731_>
On Tue, Jul 2, 2019 at 4:33 PM SriRakesh @.***> wrote: i want to
integrate the adaptive cards in angular, can you please share the code ? —
You are receiving this because you were mentioned. Reply to this email
directly, view it on GitHub <#2186
https://github.com/microsoft/AdaptiveCards/issues/2186?email_source=notifications&email_token=AIU4YSAJJWJAVPIBEJTCAX3P5MYYDA5CNFSM4GGKJIOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZA4SHQ#issuecomment-507627806>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU4YSFGC7OZQBKSRNMZY63P5MYYDANCNFSM4GGKJIOA
.
-- Best regards, Lokesh Kumar Sr. Software Engineer
Hai Lokesh,
This is my code, i need to perform Action for 'Action.Submit' and
'Action.OpenUrl'. So, do you know how can i do that.
import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';
import * as AdaptiveCards from "adaptivecards";
import { HttpClient } from '@angular/common/http';
@component https://github.com/component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
cards: any;
output: any;
textArea: any;
@ViewChild https://github.com/ViewChild('adaptiveCards')
AdaptiveCards: ElementRef;
constructor(private http: HttpClient) {
this.cards = new AdaptiveCards.AdaptiveCard();
}
ngOnInit() {
}
onClickConvert(json: any) {
let jsonText = JSON.parse(json.value);
console.log(jsonText)
this.cards.parse(jsonText);
console.log(this.cards);
this.output = this.cards.render();
console.log(this.output);
this.AdaptiveCards.nativeElement.innerHTML = this.output.innerHTML;
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AdaptiveCards/issues/2186?email_source=notifications&email_token=AIU4YSDREWDJS2OASTS5433P5NKTJA5CNFSM4GGKJIOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBJHRI#issuecomment-507679685,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU4YSDOKRNGR4TWBESBWWTP5NKTJANCNFSM4GGKJIOA
.

--
Best regards,
Lokesh Kumar
Sr. Software Engineer

@lokeshbansal1993 @dclaux
Hello ,
I am facing similar issue, submit action is not working for the below code. But works fine in emulator and webchat.
let adaptiveCard = new AdaptiveCards.AdaptiveCard();
adaptiveCard.hostConfig = new AdaptiveCards.HostConfig({
fontFamily: "Segoe UI, Helvetica Neue, sans-serif"
});
adaptiveCard.parse(card);
let renderedCard = adaptiveCard.render();
var elementHtml = renderedCard.outerHTML;
this.adaptiveCardHtml = this.sanitizer.bypassSecurityTrustHtml(elementHtml)

The original issue opened has been solved; if there are any bugs with Adaptive Cards, please open issues for those bugs or questions. Thanks!

repo: microsoft/AdaptiveCards


text:
[Adaptive Cards Templating] $when Works as expected if ${PlaceHolder} is empty string. However, it does not work as expected if ${PlaceHolder} is null.

Target Platform

.NET HTML

Target Application
Teams
Problem Description
"$when":"${ResultSnippet != ''}" Works as expected if ResultSnippet is empty string. However, it does not work as expected if ResultSnippet  is null.
Note: This issue is NOT observed with JS templating sdk.
Template string
"{"type":"AdaptiveCard","version":"1.2","body":[{"type":"ColumnSet","columns":[{"type":"Column","width":"auto","items":[{"type":"Image","url":"https://searchuxcdn.azureedge.net/designerapp/images/servicenow-icon.png\",\"size\":\"Small\",\"horizontalAlignment\":\"Center\",\"altText\":\"ServiceNow logo"}],"height":"stretch"},{"type":"Column","width":8,"items":[{"type":"TextBlock","text":"${number} ${shortdescription}","color":"Accent","size":"Medium","weight":"Bolder","$when":"${shortdescription != ''}"},{"type":"RichTextBlock","inlines":[{"type":"TextRun","$when":"${sysupdatedby != ''}","text":"${sysupdatedby} ","weight":"Bolder"},{"type":"TextRun","$when":"${sysupdatedby != ''}","text":" modified "},{"type":"TextRun","$when":"${sysupdatedon != ''}","text":"{{DATE(${sysupdatedon})}}"}],"spacing":"None"},{"type":"TextBlock","text":"${ResultSnippet}","wrap":true,"maxLines":3,"spacing":"Medium","$when":"${ResultSnippet != ''}","color":"Dark"}],"horizontalAlignment":"Center","spacing":"Medium"}]}],"$schema":"http://adaptivecards.io/schemas/adaptive-card.json\"}"
Sample Data:
{
"number": "KB0046925",
"shortdescription": "User Account: How to Send B2B Invites Using the Azure Portal?",
"AccessUrl": https://microsoft.service-now.com/kb_view.do?sys_kb_id=2dfd5689db52cf800c1f546adc9619ed,
"sysupdatedby": "v-preetm",
"sysupdatedon": "2021-07-20T18:52:16Z",
"HitHighlightedProperties": ""
}
Expanded Adaptive card:
{
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "Image",
"url": "https://searchuxcdn.azureedge.net/designerapp/images/servicenow-icon.png",
"size": "Small",
"horizontalAlignment": "Center",
"altText": "ServiceNow logo"
}
],
"height": "stretch"
},
{
"type": "Column",
"width": 8,
"items": [
{
"type": "TextBlock",
"text": "KB0046925 User Account: How to Send B2B Invites Using the Azure Portal?",
"color": "Accent",
"size": "Medium",
"weight": "Bolder"
},
{
"type": "RichTextBlock",
"inlines": [
{
"type": "TextRun",
"text": "v-preetm ",
"weight": "Bolder"
},
{
"type": "TextRun",
"text": " modified "
},
{
"type": "TextRun",
"text": "{{DATE(2021-07-20T18:52:16Z)}}"
}
],
"spacing": "None"
},
{
"type": "TextBlock",
"text": "${ResultSnippet}",
"wrap": true,
"maxLines": 3,
"spacing": "Medium",
"color": "Dark"
}
],
"horizontalAlignment": "Center",
"spacing": "Medium"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
Sample Code
AdaptiveCardTemplate template = new AdaptiveCardTemplate(templateJsonString);
string cardJson = template.Expand(Source);
AdaptiveCardParseResult cardParseResult = AdaptiveCard.FromJson(cardJson);
Version of SDK
AdaptiveCards.Templating Version="1.2.1"

@pankajvaher
Your use case seems to be invalid.
nil is not the same as an empty string.
Can you add null check or it with emptying string check?
The comparison you make is powered by AEL
Please do check the AEL site for more information.

authors: jwoo-msft pankajvaher


text:
Got issues while creating a new DevOps project

Error while creating build definition: The classic pipelines are disabled for this project / organization. Error while creating release definition: The classic pipelines are disabled for this project / organization.

@mckma you may give more details if you wish some feedback ;-)

name of your org
screenshots
the lab your are trying to play
etc

By default, classic pipeline creation has been disabled for new organizations. To enable it, go to organization settings and provision the project.

authors: aksh-h lgmorand mckma

repo: microsoft/AzureDevOpsDemoGenerator


text:
Auto snapshot files when replacing a file via UI

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
Drag and drop a file to azure which replaces the existing file prompts to replace the file with no prompt to snapshot. Snapshots have to be done manually.
Desired Solution
It would save a lot of time if the replace file prompt had a checkbox that says "Create snapshot".
Eg like below.

Alternatives and Workarounds
Manually right clicking, create snapshot. However when copying 20+ files this is very time consuming and tedious.
Additional Context
No response

@rollsch There is a service feature called blob versioning you might be interested in. Mutations to your blobs will automatically create blob versions, which you can later access as backup data. https://docs.microsoft.com/en-us/azure/storage/blobs/versioning-overview. I believe using of blob versioning would be easier than manually managing the snapshots.

Closing due to lack of response. If you are still encountering this issue, we recommend opening a support ticket via the Azure Portal. Alternatively, you can open a new issue here.

authors: JasonYeMSFT MRayermannMSFT rollsch

repo: microsoft/AzureStorageExplorer


text:
fix: update script button overlaps with publish target content in setting page

Description

Task Item
Closes #5302
Screenshots

Coverage decreased (-0.002%) to 55.284% when pulling 33ad5cde287c46cde50b5c0f8119ad6e29f646f0 on liweitian:fixSettingsUX into 8446514076d7eb17d05739cfd2945d6bada2ad10 on microsoft:main.

Can you also fix the logic that, i don't think we want to show this ux when there is not "scripts" folder

Can you also fix the logic that, i don't think we want to show this ux when there is not "scripts" folder

ignore this，i saw the other PR is doing that

source: gharchive/pull-request

authors: boydc2014 coveralls liweitian

repo: microsoft/BotFramework-Composer


text:
Add documentation for speech features

~Note to myself: make sure to test this one manually.~
Note to myself: fix "diff" to add pluses for "hybrid subscription keys", we are missing those pluses.

Description
We have many new and cool features for using speech in Web Chat. Let's add some documentations
Specific Changes

Add SPEECH.md

[x] ~Testing Added~

No tests are required for documentation

Coverage remained the same at 66.375% when pulling 6aa10677366ffc2f907e990d021d465f1ac53008 on compulim:feat-speech-doc into 3e353ecf0b0033ac600cbf52b0bf3c40ac87889c on microsoft:master.

Agree, we should think about how to make the best use of our speech samples.
Would need to wait until mid-October to remove Bing Speech sample. 😥

authors: compulim coveralls

repo: microsoft/BotFramework-WebChat


text:
SC_HANDLE should be a managed SafeHandle derived type

Actual behavior
Service manager API functions (OpenSCManager, CreateService, maybe more) currently return an unmanaged SC_HANDLE. Lots of other calls take this unmanaged handle as well
Expected behavior
The generated functions should use a SafeHandle. The SafeHandle dervied type automatically closes valid handles with CloseServiceHandle.
Repro steps

NativeMethods.txt content:

OpenSCManager
CreateService
CloseServiceHandle

NativeMethods.json content (if present):

Any of your own code that should be shared?

Context

CsWin32 version: 0.3.49-beta
Win32Metadata version (if explicitly set by project):
Target Framework: net8.0-windows10.0.17763
LangVersion (if explicitly set by project): 12.0

This would require a metadata change.

authors: AArnott dorssel


text:
[mouse_event] Param dwData cant be a negative value

Actual behavior
[A clear and concise description of what the bug is.]
[DllImport("USER32.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
[SupportedOSPlatform("windows5.0")]
internal static extern void mouse_event(winmdroot.UI.Input.KeyboardAndMouse.MOUSE_EVENT_FLAGS dwFlags, int dx, int dy, uint dwData, nuint dwExtraInfo);

https://learn.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-mouse_event#parameters
If dwFlags contains MOUSEEVENTF_WHEEL, then dwData specifies the amount of wheel movement. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120.

A negative dwData value indicates that the wheel was rotated backward, but dwData is uint from GeneratedCode.
Expected behavior
A clear and concise description of what you expected to happen.
Repro steps

NativeMethods.txt content:

mouse_event

NativeMethods.json content (if present):

Any of your own code that should be shared?

Context

CsWin32 version: [e.g. 0.2.138-beta]
Win32Metadata version (if explicitly set by project):
Target Framework: [e.g. net6.0]
LangVersion (if explicitly set by project): [e.g. 10.0]

Thank you for the excellent bug report. I'm forwarding to the metadata repo since that's where the fix would need to be.
This is very similar to https://github.com/microsoft/win32metadata/issues/277, but refers to a different parameter. I believe the resolution should be the same.

authors: AArnott emako


text:
[BUG]DeepSpeed zero3 use more gpu memory than zero2

Describe the bug

DeepSpeed zero3 use more gpu memory than zero2.
Ulysess performance problem.

To Reproduce
Steps to reproduce the behavior:
just use ulysess sample code: https://github.com/microsoft/Megatron-DeepSpeed/blob/main/examples_deepspeed/sequence_parallel/ds_pretrain_gpt_1.3B_seq_parallel_32k.sh
change the model size into 7b, use 8xA100-80g, gbs=16, mbs=1, dp=2, sp=4
for deepspeed: dp2+sp4:

zero3, recompute: 52.8G, 13000 ms
zero2, recompute: 43.8G, 13194 ms
zero3, no-recompute: 75.2G, 10329 ms
zero2, no-recompute: 62.3G, 10050 ms

for tensor parallel: dp2+tp4:

recompute: 32.5G, 16128 ms
no-recompute: 45G, 12109 ms

I'm so confused that:

why zero3 use more gpu memory than zero2?
it seems if do not use checkpoint-activations, use the same dp, ulysess will oom earlier than megatron tp?

My DeepSpeed zero1/2/3 + offload use more gpu memory than DDP

@TheDecisionJTree Can you share your exact deepspeed config or the ds_pretrain ....sh script ?

authors: Sakura-gh TheDecisionJTree umchand

repo: microsoft/DeepSpeed


text:
receiving this error

~\AppData\Roaming\Python\Python38\site-packages\torch\nn\modules\module.py in _call_impl(self, *input, **kwargs)
887             result = self._slow_forward(*input, **kwargs)
888         else:
--> 889             result = self.forward(*input, **kwargs)
890         for hook in itertools.chain(
891                 _global_forward_hooks.values(),
 in forward(self, x)
8
9     def forward(self, x):
---> 10         x = self.lin1(x)
11         x = self.lin2(x)
12         x = self.lin3(x)
~\AppData\Roaming\Python\Python38\site-packages\torch\nn\modules\module.py in _call_impl(self, *input, **kwargs)
887             result = self._slow_forward(*input, **kwargs)
888         else:
--> 889             result = self.forward(*input, **kwargs)
890         for hook in itertools.chain(
891                 _global_forward_hooks.values(),
~\AppData\Roaming\Python\Python38\site-packages\torch\nn\modules\linear.py in forward(self, input)
92
93     def forward(self, input: Tensor) -> Tensor:
---> 94         return F.linear(input, self.weight, self.bias)
95
96     def extra_repr(self) -> str:
~\AppData\Roaming\Python\Python38\site-packages\torch\nn\functional.py in linear(input, weight, bias)
1751     if has_torch_function_variadic(input, weight):
1752         return handle_torch_function(linear, (input, weight), input, weight, bias=bias)
-> 1753     return torch._C._nn.linear(input, weight, bias)
1754
1755
RuntimeError: tensor.is_dml() INTERNAL ASSERT FAILED at "D:\a\_work\1\s\aten\src\ATen\native\dml\DMLTensor.cpp":422, please report a bug to PyTorch. unbox expects Dml tensor as inputs

Can you post your code sample?

Hi @finitearth , can you share a minimal repro python script for us to reproduce your error?
Please try our latest release from pypi to see if your issue is resolved.

Closing due to inactivity. Please try out with the current version of torch-directml-0.1.13.dev221216 and let us know if you face any other issues.

authors: finitearth foemre linnealovespie ryanlai2

repo: microsoft/DirectML


text:
Fixed bugs in AudioEmitter/AudioListener IsValid

Minor bug in implementation of #241.

Added test coverage in https://github.com/walbourn/directxtk12test/commit/c791e70efbcfe26fce496e8871f43a3146f81686


text:
Upload WMA Performance JMeter testing sample script and data csv

Upload WMA Performance JMeter testing sample script and data csv

This is a sample JMX for WMA App performance testing.


text:
Update get_derivetables.sql

When trying this script against AxDB, we included a lengthy list of potential parent tables because we did not know what other tables besides DirPartyTable we'd need to worry about using synapse link. In doing so, we noticed duplication in the output of the columns included in some of the view definitions. When selecting DirOrganizationBase as an example, the view definition for DirPartyTable experienced the duplication. I implemented an additional CTE pull a distinct table/col mapping from the recursive CTE output to mitigate the duplication.

@microsoft-github-policy-service agree company="Nucor Buildings Group"
On Thu, Apr 25, 2024 at 1:04 PM microsoft-github-policy-service[bot] <
@.***> wrote:

@briandpolk https://github.com/briandpolk please read the following
Contributor License Agreement(CLA). If you agree with the CLA, please reply
with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Dynamics-365-FastTrack-Implementation-Assets/pull/325#issuecomment-2077759244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYVXKB4GVN4BYM7WB3QDQMLY7EZR5AVCNFSM6AAAAABGZIZWF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXG42TSMRUGQ
.
You are receiving this because you were mentioned.Message ID:
<microsoft/Dynamics-365-FastTrack-Implementation-Assets/pull/325/c2077759244
@github.com>


text:
Pipeline timing out

Hi
This is my first attempt at a pipeline
I have set the pipeline and have a limit of 1hr for it to run.
I have misconfigured it somehow as it always runs for 60 mins then stops.
After the free 12 hours for the month, it stops as it has reached its limit
Is there something simple I have missed as I would have though it wouldnt take an hour each day to run?
It is now saying it hasent committed in 90 days and wont continue after 2 minutes.
Any advice is appreciated.

Unfortunately on large tenants you will run into this issue. You will most probably need to run a local agent or using something like Azur Automation etc...

Many thanks. I have set it up using a powershell script you supplied now and it is brilliant.
Regards
Get Outlook for iOShttps://aka.ms/o0ukef

From: Merill Fernando @.>
Sent: Friday, September 13, 2024 7:39:05 AM
To: microsoft/EntraExporter @.>
Cc: Rossi58 @.>; Author @.>
Subject: Re: [microsoft/EntraExporter] Pipeline timing out (Issue #76)
Unfortunately on large tenants you will run into this issue. You will most probably need to run a local agent or using something like Azur Automation etc...
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/EntraExporter/issues/76#issuecomment-2347294194, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYNRXU7VVU2FXQJDU6YWZVTZWICXTAVCNFSM6AAAAABMHLGTFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBXGI4TIMJZGQ.
You are receiving this because you authored the thread.Message ID: @.***>

repo: microsoft/EntraExporter


text:
Revert "Promote feature/v3 to main (#190)"

This reverts commit 4e5a8f57264c557e1a100a4c6e04b73d55c4ad61.
Three commits need to be reverted from main branch in this order:

ebe414233b24156caa5265ab49f6570fac16f1dc
bf76ce600fcc2e2a47323a25636859721f0a333f
4e5a8f57264c557e1a100a4c6e04b73d55c4ad61

This PR reverts the third commit.
All commits are preserved in avanigupta/RevertDynamicFeatures branch for merging to main later, when we are ready to release v3.

Closing this in favor of a single PR to revert all necessary commits.

repo: microsoft/FeatureManagement-Dotnet


text:
Enforce Named Exports Only

We current use a lot of wildcard exports from our packages. This leads us to over exporting things we don't need, as frequently we need something across file within a package, so it need to be exported at it definition, but isn't needed outside but due to the wildcard export it's automatically exported.
Ideally there is an es-lint rule we could enable to block wildcard exports. If we had something like that, we could write a script to convert all existing exports to named exports using something like ts-morph. this would prevent the unintentionally expansion of our api

fyi @tylerbutler and @curtisman

This lint rule will disallow export * from ___ statements:
"no-restricted-syntax": [
    "error",
    {
        "selector": "ExportAllDeclaration",
        "message": "Exporting * is not permitted. You should export only named items you intend to export."
    },
]

And it could be limited to only index.ts files using an override in the lint config. Might make sense to enable for some packages individually.

authors: anthony-murphy tylerbutler

repo: microsoft/FluidFramework


text:
Remove batch grouping configuration

Deprecated API

IContainerRuntimeOptions.enableGroupedBatching

Context
We can and should get rid of the mode where we send ops with empty content for Compression.
Configuration-wise, at this point both compression & op grouping are ON in main, and OFF in LTS. So, we can group them together into one modality and should stop mentioning (and dealing with) a modality where compression is on, but op grouping is off.
Since we will now always group a batch of 2 or more messages, we must remove the ability to configure this. Batch grouping will now be dependent on batch compression.
Then it’s just a matter of updating OpCompressor to require single-message batches and remove the empty placeholder code.
Approach

Tag the deprecated option with the @deprecated tag.

Create internal version of containerRuntimeOptions that has enableGroupedBatching and remove the existing option from containerRuntime.

Remove the code that handles compression batches with multiple messages.

DocumentSchemaController.opGroupingEnabled will now depend on the value of the internal version of enableGroupedBatching
Update opCompressor.compressBatch() so that it receives a batch with a single message and stops creating the empty placeholder ops.
Update Outbox.flushInternal() so that it always groups batches with 2 or more messages and compresses them. It’s important to note that we also want to stop grouping and compressing blobAttach batches, since we won’t group them anymore.
Dependencies
The deprecation/removal of FlushMode.Immediate from IContainerRuntimeOptions.flushMode will use the same new IContainerRuntimeOptionsInternal, so those PRs will need to be thoughtfully merged.
Compatibility Concerns
To support 1.x clients we are creating an internal version of enableGroupedBatching that will be able to receive requests from said clients and we will have a mechanism to disable grouped batching and compression both.
There shouldn’t be any issues since currently there is no existing use of turning on grouping and turning off compression.
There also shouldn’t be any issues on the functionality of batch grouping depending on batch compression, since if the user has grouping available in their version of FF they should also have an existing configuration of compression. This is because compression was released before grouping within the FF code.
Expected Timeline
We expect the chanes to be made in Client 2.20 release, which is expected to be on 01/06/2025

When I merged the preparation for the breaking change it automatically marked it as closed, but the breaking change hasn't been made yet


text:
[GC-stress] Enable logging to kusto

Now that the alerts from the main stress tests filter out logs from test/ branches, enabling logging the results from gc stress tests to kusto.

Have we confirmed that test/ branches are actually what gets filtered/distinguished? I know yesterday in a meeting with Navin and Abram we talked about this but my understanding is that what we distinguish now is the profile. Andrei's tests used a new one, and now we can tell that they do and not alert on that. Not sure if a test/ branch would be distinguishable just because it is a test/ branch.

@Abe27342 to answer Alejandro's question. My understanding is that it's fine to enable logging to ffautomation from test/ branches.

@alexvy86 We distinguish both now; health models are set up to filter out test branches (I finished that work item EOD yesterday) and current profile filters to "not ci_with_large_payloads" (@anthony-murphy set this up while he was OCE).

Awesome :)


text:
Simplify Env implementation with python dataclass

Summary
This PR adopts dataclass https://docs.python.org/3.7/library/dataclasses.html to Env class. With this change, no need to manually edit 2 places anymore, which are class variable assignment and property creation. One place edit covers both of property creation and variable assignment. This reduces human errors around that.
Before
self._workspace_name = os.environ.get("WORKSPACE_NAME")
@property
def workspace_name(self):
    return self._workspace_name

After
workspace_name: Optional[str] = os.environ.get("WORKSPACE_NAME")

Additional benefit

Type annotation added to all variables
frozen=True flag makes this Env's properties immutable

Singlton is deleted
Singlton is deleted for implementation simplification as I didn't see much value of keeping it.
Points considered were these 3 points.

Object has resources that are expensive to instantiate

No. Every line is just get.environment so it's super cheap to execute

Object has resources that should only be instantiated once

It's not harmful to instantiate env object multiple times because it's basically just loading environment variables. Cheap & safe read-only

Object has resources that should only be de-provisioned when the program ends

Ideally we want to keep using the same env throught the codebase but it's fine to create it again if it's lost.

I picked up a wrong branch to merge so I closed this one and created a new one with the right branch #277

repo: microsoft/MLOpsPython


text:
400 bad request when importing template in Power BI Desktop

I am working on my personal laptop with account A. I implemented MPARR with my administrator accountB. The scheduled tasks are working and importing data in Log Analytics. I installed Power BI Desktop and signed in with my administrator accountB. I import template "MPARR - MIP Scanner v1.10_10.2023FS.pbit" and add the domain with a dot as prefix, and add the workspace id. Now I got an error.

Hi @khha the error that you are showing can happens because some of the visuals in the dashboards uses specific fields, if some of those fields doesn't exist, one of the import processes can be fail and with that all the report.
Please after receiving the error, go to the option Transform Data on Power BI, and at the left start going through all the tables to see which one have the error, and please come back with that result.

Hi, It is table "Azure AD Users" which gives me this error:

DataSource.Error: Web.Contents failed to get contents from 'https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query?query=AzureADUsers_CL
| where TimeGenerated >= now(-90d)
| summarize arg_max(TimeGenerated, UserPrincipalName_s, DisplayName_s, AssignedLicenses_s, City_s, JobTitle_s, Department_s, Mail_s, OfficeLocation_s, UserID_g) by UserPrincipalName_s
&x-ms-app=OmsAnalyticsPBI&prefer=ai.response-thinning=true' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query
Url=https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query?query=AzureADUsers_CL
| where TimeGenerated >= now(-90d)
| summarize arg_max(TimeGenerated, UserPrincipalName_s, DisplayName_s, AssignedLicenses_s, City_s, JobTitle_s, Department_s, Mail_s, OfficeLocation_s, UserID_g) by UserPrincipalName_s
&x-ms-app=OmsAnalyticsPBI&prefer=ai.response-thinning=true

DataSource.Error: Web.Contents failed to get contents from 'https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query?query=AzureADUsers_CL
| where TimeGenerated >= now(-90d)
| summarize arg_max(TimeGenerated, UserPrincipalName_s, DisplayName_s, AssignedLicenses_s, City_s, JobTitle_s, Department_s, Mail_s, OfficeLocation_s, UserID_g) by UserPrincipalName_s
&x-ms-app=OmsAnalyticsPBI&prefer=ai.response-thinning=true' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query
Url=https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query?query=AzureADUsers_CL
| where TimeGenerated >= now(-90d)
| summarize arg_max(TimeGenerated, UserPrincipalName_s, DisplayName_s, AssignedLicenses_s, City_s, JobTitle_s, Department_s, Mail_s, OfficeLocation_s, UserID_g) by UserPrincipalName_s
&x-ms-app=OmsAnalyticsPBI&prefer=ai.response-thinning=true

I think I fixed it by removing these 2 user attributes:
// City_s
// OfficeLocation_s
Script:
/*
The exported Power Query Formula Language (M Language ) can be used with Power Query in Excel
and Power BI Desktop.
For Power BI Desktop follow the instructions below:

Download Power BI Desktop from https://powerbi.microsoft.com/desktop/
In Power BI Desktop select: 'Get Data' -> 'Blank Query'->'Advanced Query Editor'
Paste the M Language script into the Advanced Query Editor and select 'Done'
*/

// City_s
// OfficeLocation_s
let AnalyticsQuery =
let Source = Json.Document(Web.Contents("https://api.loganalytics.io/v1/workspaces/"& Workspace_ID &"/query",
[Query=[#"query"="AzureADUsers_CL
| where TimeGenerated >= now(-90d)
| summarize arg_max(TimeGenerated, UserPrincipalName_s, DisplayName_s, AssignedLicenses_s, JobTitle_s, Department_s, Mail_s, UserID_g) by UserPrincipalName_s
",#"x-ms-app"="OmsAnalyticsPBI",#"prefer"="ai.response-thinning=true"],Timeout=#duration(0,0,4,0)])),
TypeMap = #table(
{ "AnalyticsTypes", "Type" },
{
{ "string",   Text.Type },
{ "int",      Int32.Type },
{ "long",     Int64.Type },
{ "real",     Double.Type },
{ "timespan", Duration.Type },
{ "datetime", DateTimeZone.Type },
{ "bool",     Logical.Type },
{ "guid",     Text.Type },
{ "dynamic",  Text.Type }
}),
DataTable = Source[tables]{0},
Columns = Table.FromRecords(DataTable[columns]),
ColumnsWithType = Table.Join(Columns, {"type"}, TypeMap , {"AnalyticsTypes"}),
Rows = Table.FromRows(DataTable[rows], Columns[name]),
Table = Table.TransformColumnTypes(Rows, Table.ToList(ColumnsWithType, (c) => { c{0}, c{3}}))
in
Table,
#"Duplicated Column" = Table.DuplicateColumn(AnalyticsQuery, "UserPrincipalName_s", "UserPrincipalName_s - Copy"),
#"Split Column by Delimiter" = Table.SplitColumn(#"Duplicated Column", "UserPrincipalName_s - Copy", Splitter.SplitTextByDelimiter("@", QuoteStyle.Csv), {"UserPrincipalName_s - Copy.1", "UserPrincipalName_s - Copy.2"}),
#"Changed Type" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"UserPrincipalName_s - Copy.1", type text}, {"UserPrincipalName_s - Copy.2", type text}}),
#"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"UserPrincipalName_s - Copy.1", "Alias"}, {"UserPrincipalName_s - Copy.2", "Primary domain"}}),
#"Capitalized Each Word" = Table.TransformColumns(#"Renamed Columns",{{"UserPrincipalName_s", Text.Proper, type text}}),
#"Removed Duplicates" = Table.Distinct(#"Capitalized Each Word", {"UserPrincipalName_s"})
in #"Removed Duplicates"

That is a common issue with the Power BI reports, if some fields are used but not populated in your Logs Analytics Tables, that can happen.
My recommendation, more than comment those lines, is at least for 1 of your users add that field and sync again your users, with only 1 user with that information that column is created and can be used.

Thanks for the tip 👍

Now I have an error in another part "MIPScanner".

Error:
An error occurred in the ‘MIPScanner query_data’ query. DataSource.Error: Web.Contents failed to get contents from 'https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query?query=AuditGeneral_CL
    | where Common_ProcessName_s %3D%3D "MSIP.Scanner" and Operation_s !%3D "HeartBeat" and Operation_s !%3D "FileDeleted" and Operation_s !%3D "Search" and Operation_s !%3D "Validate"
    | extend Extensions %3D " "
    | extend Filename %3D ObjectId_s
    | extend FileName %3D replace_regex(Filename%2C %40'^.*[\\\%2F]'%2C '')
    | extend PATH %3D parse_path(ObjectId_s)
    | parse PATH with * '"DirectoryPath"%3A"' PATH1
    | parse PATH1 with * '"AlternateDataStreamName"%3A"' PATH2
    | extend PATH2
    | extend PATH %3D iff(PATH2 !contains 'http'%2C PATH1 %3' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=https://api.loganalytics.io/v1/workspaces/b7d82e17-05ba-4126-9156-fe74a7f04185/query
It try to run this query:
let AnalyticsQuery =
let Source = Json.Document(Web.Contents("https://api.loganalytics.io/v1/workspaces/"& Workspace_ID &"/query",
[Query=[#"query"="AuditGeneral_CL
| where TimeGenerated > now(-730d)
| summarize by
    Year = datetime_part('Year',TimeGenerated),
    Month = datetime_part('Month',TimeGenerated),
    Day = datetime_part('Day',TimeGenerated)
",#"x-ms-app"="OmsAnalyticsPBI",#"prefer"="ai.response-thinning=true"],Timeout=#duration(0,0,4,0)])),
TypeMap = #table(
{ "AnalyticsTypes", "Type" },
{
{ "string",   Text.Type },
{ "int",      Int32.Type },
{ "long",     Int64.Type },
{ "real",     Double.Type },
{ "timespan", Duration.Type },
{ "datetime", DateTimeZone.Type },
{ "bool",     Logical.Type },
{ "guid",     Text.Type },
{ "dynamic",  Text.Type }
}),
DataTable = Source[tables]{0},
Columns = Table.FromRecords(DataTable[columns]),
ColumnsWithType = Table.Join(Columns, {"type"}, TypeMap , {"AnalyticsTypes"}),
Rows = Table.FromRows(DataTable[rows], Columns[name]),
Table = Table.TransformColumnTypes(Rows, Table.ToList(ColumnsWithType, (c) => { c{0}, c{3}}))
in
Table,
    #"Invoked Custom Function" = Table.AddColumn(AnalyticsQuery, "MIPScanner query_data", each #"MIPScanner query_data"("Day", "Month", "Year")),
    #"Expanded MIPScanner query_data1" = Table.ExpandTableColumn(#"Invoked Custom Function", "MIPScanner query_data", {"Label", "Date", "ObjectId_s", "FileName", "PATH", "Application", "User", "Activity", "Workload", "Location", "Version", "IP", "Extensions", "WebService", "Workstation", "ResultStatus_s", "SensitiveInfoTypeData_s", "ProtectionEventData_ProtectionType_s", "ProtectionEventData_TemplateId_g", "ProtectionEventData_IsProtected_b", "ProtectionEventData_ProtectionOwner_s"}, {"Label", "Date", "ObjectId_s", "FileName", "PATH", "Application", "User", "Activity", "Workload", "Location", "Version", "IP", "Extensions", "WebService", "Workstation", "ResultStatus_s", "SensitiveInfoTypeData_s", "ProtectionEventData_ProtectionType_s", "ProtectionEventData_TemplateId_g", "ProtectionEventData_IsProtected_b", "ProtectionEventData_ProtectionOwner_s"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Expanded MIPScanner query_data1",{{"Date", type datetimezone}}),
    #"Parsed JSON" = Table.TransformColumns(#"Changed Type",{{"SensitiveInfoTypeData_s", Json.Document}}),
    #"Expanded SensitiveInfoTypeData_s" = Table.ExpandListColumn(#"Parsed JSON", "SensitiveInfoTypeData_s"),
    #"Expanded SensitiveInfoTypeData_s1" = Table.ExpandRecordColumn(#"Expanded SensitiveInfoTypeData_s", "SensitiveInfoTypeData_s", {"SensitiveInfoTypeId", "Count", "Confidence", "SensitiveInfoTypeName", "SensitiveInformationDetectionsInfo"}, {"SensitiveInfoTypeId", "Count", "Confidence", "SensitiveInfoTypeName", "SensitiveInformationDetectionsInfo"})
in
    #"Expanded SensitiveInfoTypeData_s1"

Can you tell me which template are you using?

That one works only if you are using MIP Scanner in your environment, and you are using the Scanner to apply labels, If you are using MIP Scanner for discovery only, you need to use the report that finished in OD.

authors: ProfKaz hajjkh khha


text:
Published Extension not visible on US Market

Hi Support,
I have submitted my extension to Edge Store, selected US as one of the markets under Availability section. Although the extension page states that it is Live, When searching for it from the US it does not show up in the search results https://microsoftedge.microsoft.com/addons/search/lucidretail
This is my extension page
https://microsoftedge.microsoft.com/addons/detail/odjognldhfeabeigohocngoanibfhcmh
Thank you,
Waseem.

Hi @waseem-omar, thank you for reporting this. We are looking into this and will let you know as soon as we have an update.

Hi @waseem-omar, we have thoroughly tested the extension and found no issues accessing it from the United States store.
You can find it using this link: LucidRetail Lite.

If you have any further concerns, please feel free to reach out.

This is so weird, it still does not appear in search results, although it is accessible via direct link.

Thank you for looking into this!

Here is a recording of what I am seeing. After around 10 refreshes to page, it showed up, then if you refresh again it goes away, then shows up again after I do many refreshes.
One more issue we are seeing, is that auto complete is not showing results related to our extension when typing "lucid...", although it shows relevant results when typing "adblock...".
Could you please check the recording and the screenshots below?
https://github.com/user-attachments/assets/77745249-f48a-43ff-97dd-98eb36443e43

Hey @waseem-omar, could you please navigate to Help -> Change Language or Region, set the region to United States, and then try again to see if your extension appears?

Hey @waseem-omar, you can change your region from the extension [main page] .
Help -> Change Language or Region, set the region to United States, and then try again to see if your extension appears?

authors: ManikanthMSFT waseem-omar

repo: microsoft/MicrosoftEdge-Extensions


text:
Text To Speech is missing in MRTK-v2.0.0-Beta2

##MRTK-v2.0.0-Beta2 (Unity package) doesn't port over "Text to speech" feature that exist in the holotoolkit. I don't see an example or tutorial how to implement this in this new toolkit. In the previous holotoolkit we do have TextToSpeechManager.cs to use.
Expected Behavior
Developer can just do text to speech using a port-over class TextToSpeechManager.cs
Actual Behavior
Can't find anything similar to do text to speech
Steps to reproduce
(Links to sample github project preferred)
Unity Editor Version
2018.3
Mixed Reality Toolkit Release Version
v2.0.0-Beta2

Thanks for the feedback! We will definitely look into porting that functionality

I added the TextToSpeech.cs file into the new MRTK and it worked as is.

Is that TextToSpeech.cs different TextToSpeechManager.cs I mentioned? Can you share the script so that I can test?
Thanks

I think it the same. I use TextToSpeechManger.cs and it works too. Thanks

Thanks @genereddick and @tletie! Text-to-Speech is platform specific (windows only) as implemented in HoloToolkit,  The team will work to provide a cross platform implementation as soon as possible.
Do you feel it should be a foundational component or an extension? I can see both ways.

The old code works on WMR/HoloLens and not anywhere else so my expectations for cross-platform are limited.
I do think if it can be done in a consistent way and across enough platforms than it would be great to have it as foundational, but I think an extension is fine if the platform differences are too challenging to abstract.
I wouldn't hold up a release for a cross-platform version in any case.

Another alternative is to use the Cloud TTS API in Cognitive Services Speech. It won't work offline, but you'll get higher quality voices, a cross-platform SDK, and it provides consistent voices across all platforms. There is a Unity quickstart sample here.

Hey, April 2020 and this is still not implemented or atleast I didn't found it in the current MRTK versions. Are there any plans on adding that? I had some hard time finding the old holotoolkit because most links are dead.

I've started adding this to Unreal but it seems the release version I pulled from once compiled has...
A. an error which is easily fixed but makes me wonder how the error is on release branch
B. Just doesn't work.
I'm not sure why once a fresh pull of source setup, generated and compiled breaks MRTK 2 for hololens.
I'll keep digging into it to see if I can add TextToSpeech support for Unreal.

authors: ActiveNick ChristopherGoe davidkline-ms genereddick nonlin tletie

repo: microsoft/MixedRealityToolkit-Unity


text:
No module named 'mlperf_loadgen'

Anaconda:
            shell level : 2
          conda version : 4.12.0
    conda-build version : 3.21.8
         python version : 3.9.12.final.0
       virtual packages : __cuda=11.5=0
                          __linux=5.4.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64

In the virtual environment Python is 3.8.13
pip install onnxruntime_olive==0.5.0 --extra-index-url https://olivewheels.azureedge.net/oaas
In the notebook:
from olive.optimization_config import OptimizationConfig
from olive.optimize import optimize

----> 2 from olive.optimize import optimize

File .../lib/python3.8/site-packages/olive/optimize.py:10
      8 from .optimization.optimize_quantization import quantization_optimize
      9 from .optimization.optimize_transformer import transformer_optimize
---> 10 from .optimization.tuning_process import tune_onnx_model, get_benchmark
     11 import logging
     13 logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

File .../lib/python3.8/site-packages/olive/optimization/tuning_process.py:13
     10 from packaging import version
     12 from .mlperf_dataset import Dataset
---> 13 from .server_runner import ServerRunner
     14 from ..constants import SUB_PROCESS_NAME_PREFIX, ONNX_TO_NP_TYPE_MAP
     16 logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

File .../lib/python3.8/site-packages/olive/optimization/server_runner.py:6
      3 import time
      4 import array
----> 6 import mlperf_loadgen as lg
      7 import numpy as np
      9 from ..constants import QUERY_COUNT, NANO_SEC, MILLI_SEC

ModuleNotFoundError: No module named 'mlperf_loadgen'

mlperf_loadgen should be automitically installed when olive optimize command be used.
In the notebook senario, it can be installed by pip install --extra-index-url https://olivewheels.azureedge.net/oaas mlperf-loadgen
This will be updated in the tutorial. Thanks for reporting this issue.

Had same issue, that command helped

So u should remove this deprecated tutorial https://github.com/microsoft/OLive/blob/master/notebook-tutorial/Optimize_ONNX_Models_Latency_with_OLive.ipynb

The notebook has been updated with mlperf-loadgen installation link.

authors: KernelA PasaOpasen leqiao-1

repo: microsoft/OLive


text:
No pytest results with OpenFolder and pytest.ini in subfolder

Describe the bug
When pytest.ini is in a subfolder it overrrides the (root) directory of pytest execution but not pytest discovery. This causes a mismatch of pytestId's and we can't find the test results.
Steps to Reproduce

Create a new python project, enable pytest (project properties->Test->Test Framework)
Add a pytest.ini under the project folder

[pytest]
python_files = test_*.py

Right click "add new item" on the project and add a unit test and name it test_1.py
Now choose "open folder" and select the solution folder you just created above.
After discovery finishes, right click run test "test_1.py"
No test results found

Expected behavior
Test results appear
Additional context and screenshots

Notice the root directory in pytest log below is set to the project folder and not the cwd which is the solution folder
cd C:\Users\bschnurr\source\repos\PythonApplication15
[8/14/2019 2:44:45.411 PM Informational] set PYTHONPATH=C:\Users\bschnurr\source\repos\PythonApplication15;C:\Users\bschnurr\source\repos\PythonApplication15\
[8/14/2019 2:44:45.412 PM Informational] C:\Users\bschnurr\source\repos\PythonApplication8\PythonApplication8\pytestenv\Scripts\python.exe "C:\USERS\BSCHNURR\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_FE4FEA96EXP\EXTENSIONS\MICROSOFT CORPORATION\PYTHON\16.0.0\testlauncher.py" C:\Users\bschnurr\source\repos\PythonApplication15 pytest "" 0 "C:\USERS\BSCHNURR\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_FE4FEA96EXP\EXTENSIONS\MICROSOFT CORPORATION\PYTHON\16.0.0\Packages" dummyfilename .\PythonApplication15\test_3.py::Test_test_3::test_A --junitxml=C:\Users\bschnurr\source\repos\PythonApplication15\TestResults\junitresults_80abba59-e743-433d-b3bc-6cb2fd5df4b2.xml
[8/14/2019 2:44:45.798 PM Informational] ============================= test session starts =============================
[8/14/2019 2:44:45.799 PM Informational] platform win32 -- Python 3.7.4, pytest-5.0.1, py-1.8.0, pluggy-0.12.0
**[8/14/2019 2:44:45.800 PM Informational] rootdir: C:\Users\bschnurr\source\repos\PythonApplication15\PythonApplication15, inifile: pytest.ini**
[8/14/2019 2:44:45.801 PM Informational] collected 1 item
[8/14/2019 2:44:45.829 PM Informational] PythonApplication15\test_3.py F                                          [100%]
[8/14/2019 2:44:45.829 PM Informational] ================================== FAILURES ===================================

Same issue happens with VsCode https://github.com/microsoft/vscode-python/issues/6978

One solution: capture the root from discovery and pass it pytest execution on the command line using --rootdir=path**

Should be fixed, need to add a test.

original issue. https://github.com/microsoft/PTVS/issues/5626

authors: bschnurr huguesv

repo: microsoft/PTVS


text:
Port TestAllBuiltinFunctionsHaveParameterDescriptions from PAClient

This test can fail in PAClient even though the change was in PowerFx and the PowerFx build passed. This change adds this test to PowerFx so that we can catch the failures here, instead of in the PAClient pipeline.

Pull Request Test Coverage Report for Build 310987

0 of 0   changed or added relevant lines in 0 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 59.495%

Files with Coverage Reduction
New Missed Lines
%

/src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Boolean.cs
9
85.71%

Totals

Change from base Build 310522:
0.1%

Covered Lines:
21420

Relevant Lines:
36003

💛  - Coveralls

authors: bryancroteau-MSFT coveralls

repo: microsoft/Power-Fx


text:
Adding Oodrive Sign connector (certified-connectors)

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[X] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[X] I attest that the connector works and I verified by deploying and testing all the operations.
[X] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[X] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[X] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[X] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

@microsoft-github-policy-service agree company="Qwerio"
I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@QwerioTEAM Thank you so much for the fix. May I ask you please to update the readme file as well. Please resolve all the conversations.

Hello @QwerioTEAM,
I hope you are doing well.
I am following up with you to see how things are going with preparing your connector.
Please let us know if you have any questions.
Thank you.

Hello @QwerioTEAM, I hope you are doing well. I am following up with you to see how things are going with preparing your connector. Please let us know if you have any questions. Thank you.

Hello @Amjed-Ayoub
We have a lack of time currently to get the readme done. We're expecting it to be done next week. I'll let you know about our progress in the process (describing all operations contained in the connector is quite time-consuming actually).

Hi @QwerioTEAM please let me know when this PR is ready for review.

Hi @QwerioTEAM please let me know when this PR is ready for review.

Hello @Amjed-Ayoub
It seems OK on our side for a review. Let me know if anything needs to be changed.

Hello @QwerioTEAM,
I hope you are doing well.
Congratulations, your pull request is approved and merged. Please submit the files to ISV Studio or update your submission using your latest commit ID, please allow us up to 1-2 weeks to review your submission, and our Engineers will notify you in the “Activity Control” area in ISV Studio. Please make sure that the icon meets all the requirements, that it’s size is 230x230, icon background is not white or transparent and it matches the iconBrandColor property in apiProperties.json file.
After making the submission in ISV Studio, please attach an intro.md file in the activity control section. This file is required and it's different from readme.md. You can find an example of intro.md file on this page at step 6.
Please Create an environment in the Preview region. You will use this environment later to test your connector after Microsoft is done with the functional verification for your connector.
We expect all tests to be completed within 1-2 weeks.
If your connector passes all tests, the deployment process begins, and it typically takes up to 3 to 4 weeks to deploy your connector to all of our regions.
Please let me know if you have any questions or run into any problems while creating or updating your submission.
Thank you very much for working with us.

authors: Amjed-Ayoub QwerioTEAM

repo: microsoft/PowerPlatformConnectors


text:
work-mode of awake can’t be changed through the ‘’blue cup‘’ on the taskbar

Microsoft PowerToys version
“0.41.4”
Running as admin

[X] Yes

Area(s) with issue?
Awake
Steps to reproduce
as the title
✔ Expected Behavior
No response
❌ Actual Behavior
as the title
Other Software
No response

known bugs，so close this issue

repo: microsoft/PowerToys


text:
A Tool that save the position and size of every window in a profile ore snapshot

Description of the new feature / enhancement
I miss a tool that save my the position and size of all my opend windows. After activate of suspend mode so i must rearrangement all my windows in size and position.
I prefered a tool that can i create a profile that save all my needed and required position and size of my opend windows.
see: https://github.com/adamsmith/WindowsLayoutSnapshot
Scenario when this would be used?
A tool that i can create profile and save the position and size of windows. I can always restore the position and size of all my saved windows in the profile.
Supporting information
No response

/dup #21537


text:
Please make it possible to set arbitrary keystrokes to change the display layout

Description of the new feature / enhancement

Current cntrl+windows+alt+{number} to change the layout is too cumbersome.
Scenario when this would be used?
Please make it possible to  assign any desired keyboard shortcut.
Supporting information
No response

/dup #16281

authors: Aaron-Junker salarmehr


text:
Fancy zone "without space around" doesn't work anymore

Microsoft PowerToys version
0.64.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
Even if the "space around zones" switch is unabled in the fancy zones editor, there is spaces around zones.
The blue grid works as expected but the window doesn't fit to the grid and let space as the switch was enabled
✔ Expected Behavior
The window should fit to the blue grid without space around it
❌ Actual Behavior
The window fit to the "grid with space around the zone" even if the option is disabled
Other Software
anyone

Fixed with the 0.64.1 rev.
Thx


text:
[KBM] Enable Apply button only when changes occur

Steps to reproduce
Open Remap Keyboard dialog
Attempt to click the Apply button
Expected behavior
The Apply button should be disabled until changes exist (e.g. IsDirty flag)
Actual behavior
Apply button is enabled and gives the Remapping Success message
Screenshots

@saahmedm 0.19 if we have capacity? Might be an easy change depending on how complicated it is to do on C++ WinUI.

UX changed, not applicable anymore

authors: JamespiWork arjunbalgovind crutkas


text:
Unit Converter: Result has only 5 significant digits, so large values may be inaccurate

Microsoft PowerToys version
0.69.1
Installation method
GitHub
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
%% 1MiB to B

✔ Expected Behavior
1048576 B
❌ Actual Behavior
1048600 B
Other Software
No response

Since double precision floating point numbers have 15 significant digits, what about using 15 digits?

@VisualBasist could you point to me the file in the code where we can change this to 15 digits?

@david-hankinson
Your contribution is welcome and thank you for your work on this. Feel free to open a PR. If you have any further questions don't worry to ask them.
Have you found the files to change or do you still need information?

authors: VisualBasist david-hankinson htcfreek


text:
Combobox snap wrong when expanded in Microsoft Access (Forms)

Microsoft PowerToys version
0.72.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
FancyZones
Steps to reproduce
When you work with  Windows 11 and MS Office (for example MS Access) and you want to expand comboboxes then the expanded window of the combobox snaped in a zone sometimes. Not always but often.
Expanded windows of comboboxes shouldn't snap into a zone.

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
MS Access (Formulars with Comboboxes)
MS Office (Formulars with Comboboxes)
Maybe all Programms works with Forms with comboboxes

Interesting. Can you tell if, in PowerToys FancyZones settings, the check boxes for Child windows and Sub windows are checked?

Here are the pictures of the preferences. Please have a look. Thank you.

Ok Tthanks, i see, subwindows and popups are also activated. Is that the problem? But what is child and what is subwindow. Where i can see this in the settings?

Are you still experiencing this issue? /needinfo

authors: Jay-o-Way Rocksmith73 cinnamon-msft


text:
Display momentary black-out

Microsoft PowerToys version
0.76.2
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
2023-12-18.txt
✔ Expected Behavior
No response
❌ Actual Behavior
Display flickered, seemed like a gpu glitch or crash at the time it happened.
Other Software
No response

Hello and thanks for your message. Can you tell what happened before the issue? Was it at the start-up of PowerToys, or a specific module, or..?

Hello, thanks for the reply.
Nothing was happening before, PowerToys was idle at the system tray, I have it running on startup.
So no specific module that I can tell.
It actually occured again after a system reboot. The log was appended.
2023-12-18.txt

Error from the report
System.Runtime.InteropServices.COMException: {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
   Source: PresentationFramework
   TargetAssembly: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   TargetModule: PresentationFramework.dll
   TargetSite: Void DwmExtendFrameIntoClientArea(IntPtr, Standard.MARGINS ByRef)
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Looked a bit into this error and it's kinda weird.
References:

https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmiscompositionenabled
https://learn.microsoft.com/en-us/windows/win32/dwm/wm-dwmcompositionchanged
https://github.com/dotnet/wpf/blob/v8.0.0/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Shell/WindowChromeWorker.cs

Desktop composition should be always enabled from Windows 8 and we should never receive WM_DWMCOMPOSITIONCHANGED.
Also note that the code that handle the message double check if composition is enabled.

@Salim-F8 Does this still happen? Could you try updating your graphic card driver if it's not up to date? /needinfo

@crutkas prio-0 but also closed?

FYI Discussion moved here https://github.com/microsoft/PowerToys/issues/31226

@Salim-F8 Does this still happen? Could you try updating your graphic card driver if it's not up to date? /needinfo

Soon after the issue disappeared. Dunno want triggered it to be frank, but I didn't update my GPU drivers in the meantime for sure.
Sorry for the belated feedback.

/
Is this still an issue with the latest version? /needinfo

@ethanfangg Do you know what the actual status of this issue is, at the moment?

@ethanfangg Do you know what the actual status of this issue is, at the moment?

Hi @Jay-o-Way , no one in the team managed to repro. Idea is try to merge https://github.com/microsoft/PowerToys/pull/32118 and see if that brings reports down. Looks a bit worse, but it's better than a crash.

I'm experiencing the same issue, but I'm running PowerToys v0.81.0.0, which is the latest version at the time of this writing.
I opened an issue for it the other day, but then I found this one, so I closed my issue and I'm now subscribing to this one.

Windows (not the OS, but the windows of any program like Notepad, vscode, etc.) freeze. Do not respond to clicks anymore. Mouse does still work when the screen is about to crash to black.
I have this issue happening every 2 hrs-ish. Not only when using the hotkey to open up PowerToys Run.
I also noticed that the run window has no content when opening it just after a full crash.
Events in order:

no interactions with windows possible, mouse movement works
screen goes to black
screen comes back with content of programs being redrawn. Except for Freecad, which gets stuck.
PowerToys run shows no content in window 1st time
PowerToys run shows content in window 2nd time

Graphics card is a ASRock AMD Radeon RX6750 XT 12GB with version from Device Manager properties: 30.0.15021.11005
Any tracing I can turn on to find out more? Due to the multiple crashes a day, I can have a relatively fast turnaround.

I was AFK and had this error log when I came back to my PC.
Version: 0.79.0.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True Date: 2024-07-01 7:50:16 PM Exception: System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)    at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)    at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()    at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)    at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

received same error on 0.82.1

This is /dup #31226 . De-duping against that one since more recent discussion is in that one.

authors: JamesDBartlett3 Jay-o-Way Saitpstc Salim-F8 TonnyWildeman davidegiacometti gmchanwing jaimecbernardo stefansjfw


text:
Increase max number of zones

📝 Provide a description of the new feature
Increase max number of zones.
When I create a new grid the maximum number of zones I can specify is 40.
Does a limit need to be set?
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Don't set a limit, let the user decide how to use the program.
I really love how I can make a window take up multiple cells by holding Ctrl and dragging a window across cells.
However I find it annoying having to change the grid structure if I decide I want a window to take up a third of the screen instead of a half.
What I was thinking of trying was to set up a 12x12 grid and then with the Ctrl button I can create windows that span a 1/4, 1/3 or 1/2 of the screen without having to change the underlying grid.
Unfortunately I couldn't do this as there is a 40 zone limit, and this solution would require 144!

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of https://github.com/microsoft/PowerToys/issues/7051

authors: SharpRT enricogior


text:
[Run > Shell plugin] Shell selection improvements

Summary of the Pull Request
⚠ This PR breake existing third party plugins that have ComboBox options! ⚠ (For compatibility reason we could implement old and new code. But this means we have duplicated code.)
This PR improves the shell settings for the Shell plugin.
Changes in this PR:

The ComboBox items of a PluginAdditionalOption now support reordering without braking existing user settings.
Windows Terminal now uses the default profile.
PowerShell 7 has been added.
New settings to run CMD, PowerShell and PowerShell 7 in Windows Terminal as console host.
Various text improvements.

PR Checklist

[x] Closes: #28876, #28783
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Note: The name of the "Find and run executable file" item has changed after creating the screenshot.

⚠ This PR breake existing third party plugins that have ComboBox options! ⚠ (For compatibility reason we could implement old and new code. But this means we have duplicated code.)

@jaimecbernardo , @crutkas
What do you think about this?

How many have combo boxes

One as I know. This feature was released with v0.73.0 .

@jaimecbernardo, @crutkas
I made some small improvements for better backward compatibility. This is ready for review.

@jaimecbernardo
CI passed.