This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UpdateContext({AIReplyResponse:Environment.AIReply({Text:AIInput.Text})}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = new OrganizationRequest("AIClassify") | |
{ | |
["AllowMultipleCategories"] = false, | |
["Categories"] = titles, | |
["Text"] = classifyText | |
}; | |
var result = service.Execute(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"operationStatus": "Error", | |
"error": { | |
"type": "Error", | |
"code": "EntitlementNotAvailable", | |
"innerErrors": [ | |
{ | |
"scope": "Generic", | |
"target": null, | |
"code": "QuotaExceeded", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"orderId": "ORD123456", | |
"customerName": "John Doe", | |
"orderDate": "2024-04-27T08:30:00Z", | |
"items": [ | |
{ | |
"itemId": "ITEM001", | |
"itemName": "Product A", | |
"quantity": 2, | |
"unitPrice": 25.99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.Crm.Sdk; | |
using Microsoft.Xrm.Sdk; | |
using Microsoft.Xrm.Sdk.Query; | |
namespace Plugin_Sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sales in last 7 days = | |
CALCULATE ( | |
DISTINCTCOUNT ( new_sales[id] ), | |
FILTER ( | |
new_sales, | |
DATEDIFF ( new_sales[new_saledate] + TIME ( 8, 0, 0 ), TODAY (), DAY ) <= 9 | |
&& NOT ( ISBLANK ( new_sales[new_saledate] ) ) | |
) | |
) + 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following code to create a dataframe and remove duplicated rows is always executed and acts as a preamble for your script: | |
# dataset = pandas.DataFrame(Sales, Country) | |
# dataset = dataset.drop_duplicates() | |
# Paste or type your script code here: | |
import pandas as pd | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
# Set the aesthetic style of the plots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyRegion = LookUp( | |
Regions, | |
Region = MyParamRegion | |
); | |
MyFacility = LookUp( | |
FacilitiesList, | |
Id = GUID(Param("FacilityID") | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClearCollect( | |
MySplashSelectionsCollection, | |
{ | |
MySystemCol: First( | |
Filter( | |
Regions, | |
Region = MyParamRegion | |
) | |
).System.'System Name', | |
MyRegionCol: First( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Diagnostics; | |
namespace eHintsBatchDecryptionTest | |
{ | |
class Program |
NewerOlder