Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Unexpected Character Help :) Please Guys

(1) ShareShare
ReportReport
Posted on by 18

JeraldBejai_0-1720372370845.png

 

Need some help with this please 

 

  • Verified answer
    jm125245 Profile Picture
    on at
    Re: Unexpected Character Help :) Please Guys
    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 }.

     

  • JeraldBejai Profile Picture
    18 on at
    Re: Unexpected Character Help :) Please Guys

    Below is the error 

  • JeraldBejai Profile Picture
    18 on at
    Re: Unexpected Character Help :) Please Guys

    Im trying to write back a html table to sharepoint 

  • JeraldBejai Profile Picture
    18 on at
    Re: Unexpected Character Help :) Please Guys

    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>"})

  • jm125245 Profile Picture
    on at
    Re: Unexpected Character Help :) Please Guys

    paste your complete formula (in a code block)

  • JeraldBejai Profile Picture
    18 on at
    Re: Unexpected Character Help :) Please Guys

    I did that, still the error persists. 

  • jm125245 Profile Picture
    on at
    Re: Unexpected Character Help :) Please Guys

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 55 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 42 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 1

Overall leaderboard