Forum Discussion

LadislavStupak's avatar
LadislavStupak
Iron Contributor
Jul 02, 2026
Solved

Power Apps Patch Command with specific Content Type

Dear Ladies and Gentlemen,   how can I create in Power Apps Patch Command to create a new item in a SharePoint Online list with specific Content Type?   Thank you for your answer.   With best r...
  • LadislavStupak's avatar
    LadislavStupak
    Jul 06, 2026

    Thank you Jamony,

    Copilot helped me to get the right command.

    Patch('List Name';

     

    {

     

    LookupColumn1:

     

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedLookup";

     

    Id: LookupColumn1Id;

     

    Value: LookupColumn1Title};

     

    LookupColumn2:

     

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedLookup";

     

    Id: LookupColumn2Id;

     

    Value: LookupColumn2Title};

    Inhaltstyp: LookUp(Choices('List Name'.Inhaltstyp); Name = ContentTypeName)});;