01-22-2023 06:01 AM - last edited 01-22-2023 06:39 AM
This app allows you to encode plain text to base64, and decode base64 to text.
Detail of technique is described in my blog post
https://mofumofupower.hatenablog.com/entry/encode_decode
Hello, seems after today i get this error
It worked before
Any idea?
EDIT:
Solved it, it was because of this part we have set in On
When turning it back off the code worked again...
Thanks
Hello,
this app is not working with my Base64 string, coded in 8 bit binary. Any idea how I could solve this?
I'm trying to convert this (sample string):
Base64
BwAAAAAAAAAAxQAAAG4AAAAAAAAAAiIAAAAAAAekAAAT7gGbhzIAAAOEAAAK5QAAAAA
AAAjKAAABaAAAAC0AAAAtAAAAAAAAAAAAAAAAAANKowAAAAAAAAAABaA=
into this:
Binary
0000011100000000 00000000 00000000 000000000000000000000000 00000000 00000000
1100010100000000 00000000 00000000 01101110 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000010 0010001000000000000000000000000000000000
00000000 00000111 1010010000000000 00000000 00010011 1110111000000001 10011011
10000111 0011001000000000 00000000 00000011 1000010000000000 00000000 00001010
1110010100000000 00000000 00000000 0000000000000000 00000000 00001000
1100101000000000 00000000 00000001 0110100000000000 00000000 00000000
0010110100000000 00000000 00000000 0010110100000000 00000000 00000000
0000000000000000 00000000 00000000 0000000000000000 00000000 00000000
0000000000000000 00000011 01001010 1010001100000000 0000000000000000 00000000
00000000 0000000000000000 00000000 00000101 10100000
best regards
Polo
There is a discrepancy between what is in the demo app and what is in your blog post.
Encode/Decode Base64 in Power Apps without Flow - MoreBeerMorePower (hatenablog.com)
These appear to be cause an error in my app. The code in the app works in your app but when i change it to code in your blog it throws an error
Blog :
AsciiTable:AddColumns(Sequence(2^8,1),"char",Char(Value)
AddColumns(ForAll(Split(InputText,""), {Result: ThisRecord.Value}),"dec",LookUp(AsciiTable,char=Result).Value),//Convert text to Ascii character code (decimal)
App:
AddColumns(ForAll(Split(InputText,""), {Result: ThisRecord.Value}),dec,LookUp(AsciiTable,char=Result).Value),//Convert text to Ascii character code (decimal)
I face the same error when trying to use the code from the blog in another app I am developing. When using the code from the demo app, it does not return an error but causes my HttpRequest to fail but the code from your blog throws the error shown above in the screenshot.
Can you help please ?
Thanks
Is it fixed bro because I have tried same but getting error
1.
2.
Here is my solution:
When I have Columns Like:- Id Product Sales Person Quantity Discount Unit Price Age Region Category Profit Margin
if I am putting these inside ""fields"": [ ] noting is return in response only title i am getting and ""id"", ""listId"", ""author"", ""title"", ""JobNo"" are getting ..my column name results are not showing
Did the original response solve your issue ? If so please mark as answer.
Results not showing ? I assume you mean in the search results ? You can test in PowerApps monitor and check the response output. In my experience, it is almost always down to SharePoint Search (Managed and Crawled Properties).
DDM