cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Patch version française

Hello,

 

First of all, I am working on a French environment, which has the effect of modifying the syntax for all the resources I find on the internet.

 

For the Patch function, which is normally written Patch (DataSource, Records) ... on my version that gives Patch (Srurce; Enregistrement) .... already I do not understand why it's different and it's really not practical at all !

 

I managed to get by but here I stuck completely with the statement of registration precisely.

Here is my syntax for OnSave SharePointIntegration:
If (SharePointFormMode = "NewForm"; SubmitForm (NewScreenForm); If (SharePointFormMode = "EditForm"; SubmitForm (EditScreenForm)))
& Patch (Tracking; Defaults (Tracking); {Title: "Issue #" & SharePointIntegration.SelectedListItemID; IssueID: SharePointIntegration.SelectedListItemID; Comments: txtTracking.Text})

 

The error indicates:
Invalid argument type One of the following values ​​is expected: Text, Number, Boolean, OptionSetValue, ViewValue.

 

My columns are of the following type:
Issue: A line of text
IssueID: Number
Comments: Several lines of text

 

Thanks for your help !

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

Re: Patch version française

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Patch version française

Hi @FredCamoai ,

 

There seems to be some syntax mistakes in your formula. In English, the formula should be:

If ( FormName.DisplayMode=New,SubmitForm (NewFormName),FormName.DisplayMode=Edit, SubmitForm (EditFormName))
; Patch (Tracking, Defaults (Tracking), {Title: Concatenate("Issue #",SharePointIntegration.SelectedListItemID),IssueID: SharePointIntegration.SelectedListItemID; Comments: txtTracking.Text})

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Regular Visitor

Re: Patch version française

Hello,

 

Thanks for your reply but i get the same error : 

 

If(SharePointFormMode="NewForm"; SubmitForm(NewScreenForm); If(SharePointFormMode="EditForm"; SubmitForm(EditScreenForm))) & Patch(Tracking; Defaults(Tracking); {Title: Concatenate("Issue #"; Text(SharePointIntegration.SelectedListItemID)); IssueID: SharePointIntegration.SelectedListItemID; Comments: txtTracking.Text})

 

Don't have solution for use the en-us syntax ? It's really not useful to use french syntax who is so different that online documentation.

 

Regards

Highlighted
Regular Visitor

Re: Patch version française

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,913)