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

Notifications

Announcements

Community site session details

Community site session details

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

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 

  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard