web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unexpected Character H...
Power Apps
Answered

Unexpected Character Help :) Please Guys

(1) ShareShare
ReportReport
Posted on by 18

JeraldBejai_0-1720372370845.png

 

Need some help with this please 

 

I have the same question (0)
  • jm125245 Profile Picture
    on at

    As the error message says, you're missing a closing parentheses ), most likely for "Concat".

  • JeraldBejai Profile Picture
    18 on at

    I did that, still the error persists. 

  • jm125245 Profile Picture
    on at

    paste your complete formula (in a code block)

  • JeraldBejai Profile Picture
    18 on at

    Clear(colGridData);
    ForAll(
    Gallery2.AllItems,
    Collect(
    colGridData,
    {
    'Date of Material Request': DateofRequestDC.SelectedDate,
    Requisitioner: RequisitionerDC.Selected,
    'Rig Name': RigNameDC.Selected,
    'Well Number/Location': WellNumberDC.Text,
    Field: FieldDC.Selected,
    'Date Required on Rig Site': DateReqOnRigSiteDC.SelectedDate,
    'Job Type': JobTypeDC.Selected,
    'Date Rig Moved on Location': DateRMOLDC.SelectedDate,
    'Item Description': ItemDesDC.Selected,
    'Quantity Requested': QTYREQDC.Selected,
    'Quality of Materials Requested': qualityofmaterialrequestedDC.Selected,
    'Noted/General Comments': NotesDC.Text,
    'Quantity Dispatched': quantitydispatchedDC.Selected,
    'Date Items Dispatched': DateItemsDispDC.SelectedDate,
    Dispatcher: DispatcherDC.Selected,
    'Truck Number': TruckNumberDC.Selected,
    'Status of Request': STATUSOFREQUESTDC.Selected
    }
    )
    );
    Patch('Material Request Grid Data',{'Items Description Text ': "<table border='1' width= '100%'>" & "<th>Date of Material Request</th><th>Requisitioner</th><th>Rig Name</th><th>Well No/Location</th><th>Field</th><th>Date Required on Rig Site</th><th>Job Type</th><th>Date Rig Moved on Location</th><th>Item Description</th><th>Quantity Requested</th><th>Quality of Material Requested</th><th>Notes/Comments</th><th>Quantity Dispatched</th><th>Date Items Dispatched</th><th>Dispatcher</th><th>Truck Number</th><th>Status of Request</th>" &
    Concat(colGridData, "<tr><td>" & 'Date of Material Request'& "</td><td>" & Requisitioner.DisplayName & "</td><td>" & 'Rig Name'.Value & "</td><td>" & 'Well Number/Location' & "</td><td>" & Field.Value & "</td><td>" & 'Date Required on Rig Site' & "</td><td>"& 'Job Type'.Value & "</td><td>"& 'Date Rig Moved on Location' & "</td><td>" & 'Item Description'.Value & "</td><td>" & 'Quantity Requested'.Value & "</td><td>" & 'Quality of Materials Requested'.Value & "</td><td>" & 'Noted/General Comments' & "</td><td>" & 'Quantity Dispatched'.Value & "</td><td>" & 'Date Items Dispatched' & "</td><td>" & Dispatcher.DisplayName & "</td><td>" & 'Truck Number'.Value & "</td><td>" & 'Status of Request'.Value & "</td><td>" & "</Table>"})

  • JeraldBejai Profile Picture
    18 on at

    Im trying to write back a html table to sharepoint 

  • JeraldBejai Profile Picture
    18 on at

    Below is the error 

    Screenshot 2024-07-08 132641.png
  • Verified answer
    jm125245 Profile Picture
    on at
    1. Please use a code block, it is very difficult to read without it.
    2. It doesn't appear you've added the closing parentheses. As the error message says, it shold be before the closing curly bracket }.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard