Posts

Showing posts from 2026

SAPUI5 - use btoa / atob in case of Base64.js is not initial

Image
Example in case of Base64 object is not defined. You can use default encode/decode from browser instead. var base64Id = ( typeof Base64 === "object" ) ?                          Base64 . encode ( oForm ) :                          window . btoa ( unescape ( encodeURIComponent ( oForm ))) Another example of btoa / atob . var sUnicodeText = "SAPUI5 🚀" ; var sEncodedUnicode = window . btoa ( unescape ( encodeURIComponent ( sUnicodeText ))); var sDecodedUnicode = decodeURIComponent ( escape ( window . atob ( sEncodedUnicode )));

SAPUI5 - Convert String to Date and vise versa

Image
this . _stringToDate ( "20260501" , "yyyyMMdd" ); this . _dateToString ( dTo , "yyyyMMdd" ); //dTo = new Date()  

Your connection is not private and no link to proceed anyway

Image
To bypass the "Your connection is not private" error when no proceed link exists, click anywhere on the error page and blindly type thisisunsafe   on your keyboard to force a load.

SAPUI5 - oData V2 Filter with Edm.DateTime

Image