22,473 questions
-1
votes
0
answers
23
views
security policy limitation of Apps Script
I'm working on a setup where the REAL PROJECT Google Sheet calls an HTML form that's hosted in a separate ADMIN PROJECT via a Web App URL (e.g. https://script.google.com/macros/s/AKfyc.../exec?func=...
-1
votes
0
answers
27
views
My web app doesn't work when deployed in production
I have created a weather App React as frontend and Node js as Backend. The app uses open weather api to get the weather data and shows it in the frontend. The problem is that the runs on development. ...
0
votes
0
answers
24
views
Reliably detect if a WebRequest is from a local CloudFlared Tunnel as opposed to directly local
I have a Web Application that can be installed in multiple environments, including on servers where it might be exposed via a CloudFlared tunnel.
When a user accesses the Web Application via the ...
0
votes
0
answers
29
views
How do I get an image from a google drive to render in a WebAPP?
My code fails to render the image properly although displays the placeholder of the correct size. Right click the placeholder will reveal the image in a separate window correctly.
I must be missing ...
0
votes
1
answer
114
views
How do I write a function to validate a UK Postcode in a Web App
I have a web app which works fine but I would like to validate a UK postcode as the input postcode field is entered (if possible).
A code snippet of the HTML input field is included with the regex ...
0
votes
0
answers
53
views
Google Apps Script Web App POST request works on desktop but blocked by CORS on mobile Chrome
I'm using a Google Apps Script Web App to receive data from a custom HTML form hosted externally. Here's the code I'm using in my Code.gs:
function doGet() {
return HtmlService.createHtmlOutput(&...
1
vote
2
answers
47
views
"az webapp identity assign" command throws LinkedInvalidPropertyId
I am trying to assign user assigned managed identity to WebApp using Azure CLI.
The command follows below syntax
#This command fetches the resource id of my existing managed identity with name '...
1
vote
1
answer
51
views
Receiving 500 error when calling PayPal API when deployed to remote server
I am building an ASP.NET Core Blazor web app in .NET 9 with the PayPalServerSDK nuget package installed. The Javascript calls to the ApiController work just fine when run in Visual Studio 2022 using ...
1
vote
1
answer
80
views
Processing multiple .csv files
I've been working on a process of batch importing the data from multiple .csv files on my computer into Google Sheets without uploading all of them to Google Drive first.
I currently have the ...
0
votes
0
answers
41
views
Issue with InteractiveServer in web app mixing Blazor, Razor and MVC pages in web app
I have .net 9 web app mixing Blazor, Razor and MVC pages. When I use URL with two segments, the InteractiveServer is not working.
Following code displays: Server | true
@page "/blazor"
@...
-3
votes
1
answer
91
views
Automatic logout if the tab is closed or every 15 minutes page will logout in app script web page
Is there a formula or function in Google Apps Script that will automatically log out the webpage every 15 minutes?
Is there a formula or function in Google Apps Script that will automatically log out ...
0
votes
0
answers
31
views
Invoking IWebHostBuilder.UseStartup<Startup>() in an ASP.NET Core 8 project generates CS0246 (Startup could not be found)
I am trying to make a web application in .NET 8. I am following a Microsoft Learn tutorial for adding Entity Framework Core: https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=...
1
vote
0
answers
63
views
HTML button redirects me to a blank page when press [duplicate]
I have a fair bit of understanding with HTML and CSS and no idea about Google Apps Script, I have tried to create a WebApp using ChatGPT with a simple Log In and Registration pages and was wondering ...
0
votes
0
answers
9
views
Open URL with parameters not working on specific website
We have a network diagnostic tool web page that we want to open programatically with parameters (IP...)
In the page (https://app/netsearch.html), normally we have to enter just the ip address range in ...
-3
votes
0
answers
22
views
For an offline-first webapp, what is a good storage strategy for data upto 20MB?
So I am designing a "offline first" webapp. User uploads a file which store to the browser's localstorage. Works but LocalStorage have 5MB storage limit! Looks like I can't create files.
...
-1
votes
1
answer
56
views
Make `POST` from blogspot iframe to `doPost` from 'Apps Script'
I created an iframe in the custom HTML of 'blogspot'.
In the src of the iframe there is the link to 'Apps Script' (https://script.google.com/macros/s/.../exec).
In the .gs of 'Apps Script', there is ...
1
vote
1
answer
41
views
Properly setting the XFrameOptionsMode for Google Apps Script Iframes
I'm reading through the Google Apps Script docs in order to get a grip. Below is my attempt in my .gs file to allow for my web app to be embedded as an Iframe...
function doGet(e) {
//URI ...
0
votes
0
answers
21
views
How to properly structure a next app that is going to be deployed on Vercel?
I am building a next app and trying to run a test launch using Vercel. I have everything configured correctly (I believe) but I get a 404 error. I have tried moving the app folder out of the src ...
0
votes
0
answers
24
views
Is there a way to convert a psd file with a multiple psb files to an image?
I'm building a web app (next.js) where user can upload .psd file with bunch of .psb files that are Linked Smart Objects inside the .psd file and also include needed images.
All of these files are ...
0
votes
0
answers
21
views
Trick Apache2 to load assets from a sub dir when they exist in root
I have spent a few days researching and trying various combinations to no effect.
What I have is a web application running in a docker container on a home server on port 3000. Accessible via server....
1
vote
0
answers
30
views
google appscript based webapp is not giving results. frontend is receiving null from the backend, even though the backend is returning valid results [duplicate]
I want to create a simple web app to search a database.
Google Apps Script based webapp is not giving results.
The issue is that the frontend is receiving null from the backend, even though the ...
-1
votes
1
answer
27
views
Issue with setting the proper permissions for our WordPress
We are facing an issue with setting the proper permissions for our WordPress installation located at /var/www/wordpress on our Web App - Azure server.
We are attempting to set the following ...
1
vote
0
answers
39
views
How to render an svg of simplified top-down view buildings as interactable shapes on InteractiveViewer on Flutter/Dart
I am trying to create an interactive map of a campus, I'm trying to figure out how to render this (placeholder) SVG I made by tracing some buildings on google maps, and making it interactive. I want ...
1
vote
2
answers
68
views
Step through matrix issues when wanting to go back one step for web app HTML,CSS JS
I have been learning web dev and have some minor knowledge of Python, so I set myself what I thought was a simple task of a set through the web app.
The issue I'm stuck with is that I have created ...
1
vote
1
answer
165
views
To store user's input from HTML pages during navigation from one page to another in Google Web Application
I try to made a google web application with multipage where user has to tick or untick on checkboxes based on applicable. I need to save those checkboxes status on HTML page using local storage during ...
0
votes
0
answers
35
views
I am trying to host my web app (React+Python) on Render.com (first time) and my Keras model isn't working, even though it works locally
I have a Tensorflow model (.keras) that was made in a conda virtual environment for 3.11 and it works perfectly fine when run locally. It does not run in Render and gives me an error. The default ...
1
vote
1
answer
78
views
How to connect with UrlFetchApp to Apps Script web app when I have "anybody with google account" options on
I have a very simple stand-alone google scripts project which is deployed as a Web App. It just contains two test functions:
function doGet(e) {
Logger.log(e);
return ContentService....
1
vote
0
answers
45
views
App not building for iOS and Android after upgrading Flutter
I have been using Flutter with Firebase etc for an iOT app at my company. Day before yesterday afternoon (Monday) I upgraded Flutter because last week when we released a update we received a ...
-1
votes
1
answer
31
views
Separate object for REST layer and repository layer
I am using springboot + mybatis. I am writing an endpoint StudentController.saveStudent(Student) which takes a Student object and saves it to the database if it is a new student or updates the student ...
2
votes
1
answer
290
views
Spotify Web Playback SDK error ( POST https://cpapi.spotify.com/v1/client/170e8fd3f7fe5ed17f77f8939c19664dcfabd80b/event/item_before_load 404)
Some context:
I'm interacting with the Spotify Web API/Playback under the Authorization code with PKCE flow. I have authorized successfully (updating my app dashboard and providing corresponding ...
0
votes
0
answers
87
views
Setting favicon for nicegui app, visible on one port but not the other
I'm trying to set a favicon for my app with following code (main):
app.mount("/static", StaticFiles(directory="static"), name="static")
ui.run(storage_secret="...
0
votes
0
answers
47
views
Flutter Web Deployment on Apache - Uncaught SyntaxError: Unexpected token '<'
I have deployed my Flutter web build (/build/ folder) to the following location on my RHEL 9.5 server running Apache:
/var/www/html/flweb/
I am trying to access my Flutter web app using:
http:///flweb/...
2
votes
1
answer
134
views
Google apps script, web app invokes CORS policy when using paths
I've been working on a Website, and wanted to use Google Sheets as my database for some god-aweful reason. In the Google Apps Script, I have a switch statement within the doGet method to get the path ...
0
votes
0
answers
55
views
Error: The default export is not a React Component in "/page"
I am getting this error after I moved my page.tsx from app directory to the group route that I created in the same app directory. The reason why I moved this home page to group route because I want to ...
2
votes
0
answers
46
views
Tornado app launch in PythonAnywhere failed with "Unhandled Exception"
I tried code from a tutorial in the PythonAnywhere help-pages:
Using tornado | PythonAnywhere help
In the information section, they explained that they need to see this code and paste it into the ...
0
votes
0
answers
23
views
Mikro-ORM MetaDataError during PostgresSQL migration
I am developing a web app where I have a Submission object. I also have Build (analogous to a post on social media) and Comment objects that both extend Submission.
On trying to do a migration for the ...
0
votes
1
answer
26
views
cordova mobile header overlaps IOS icons
I am using Cordova for my webapp with vuetify 2.
As you can see from the screenshot the title of the app ie header is overlaped with the icons of my IOS phone. Is there a way to have the app starting ...
0
votes
0
answers
70
views
"Access denied" when accessing Google Apps Script deployed web page, even with "Anyone" access setting
I have a web page deployed using Google Apps Script with access permissions set to "Anyone". However, when I try to access the page, I get an "Access denied" message and cannot ...
0
votes
2
answers
100
views
How to save changes from a web app to Google Sheets using Apps Script?
In Google Sheets, I want to take certain columns from a table and create an app through deployment. I need the user to be able to edit these fields, and all changes should be reflected in the original ...
0
votes
1
answer
54
views
Using apps-script-oauth2 lib - getting 'Cannot read properties of undefined (reading 'code')' error with handleCallback function
I'm getting below error with my authCallback function
TypeError: Cannot read properties of undefined (reading 'code')
at Service_.handleCallback(Service:440:40)
at authCallback(Auth:69:39)
Does this ...
0
votes
0
answers
85
views
Trouble getting Post/Get Requests Between Google Web Apps
I have two Google Web Apps, one with a POST request and one with a GET request but the GET request seems to only receive a Google error page HTML and I'm not sure how to move forward.
The end goal is ...
0
votes
0
answers
39
views
Cropperjs vs JCrop for cropping functionality on image
I am facing issue in cropping functionality on uploaded image in a .NET 4.6.1 web application.
I have two similar pages, UploadImage1.aspx & UploadImage2.aspx.
In UploadImage1.aspx, we are using ...
2
votes
0
answers
81
views
How to remove the top bar in a Progressive Web App build in Flutter?
I built a flutter application for web and then I installed it on my mac as a progressive web app from chrome. But the problem is there is a default top bar appearing on my web app. I don't want it. I ...
0
votes
1
answer
88
views
Using a passed parameter in an HTML to call a google function
I am using Google Apps Scripts from a DOC. The function test3 calls the HTML function MultiSelect. I am trying to use the 'role' from the MultiSelect to call the function getItems(role). In the HTML ...
0
votes
1
answer
80
views
Google Cloud Console (Service account) post request to Google App script webapp => Unautorized 401
PROBLEM
Unautorized 401 error when posting a request to Google App Script webapp, from my Google Cloud Console function with a service account.
OVERVIEW
Google App Script Webapp deployed with
Execute ...
0
votes
0
answers
58
views
Google Apps Script alert showing twice when called from HTML dialog
I've got three files that does one simple thing:
User via custom menu opens a modal dialog
User clicks button on modal dialog
button click calls a function that displays a simple alert
That's it. ...
0
votes
1
answer
90
views
Why this code block is unresponsive in azure
Code works on local machine in development environment but not on webapp, in azure.
Initially i was loading a json file from a local directoty... didnt work
now i a fetch json string and convert it ...
1
vote
1
answer
32
views
Running db migrations before integration tests
Suppose I have a web app consisting of an API and a db.
I also have a bunch of db migrations. Some of them update tables structure, while others also update the data. For instance, in migration_5 I do ...
1
vote
0
answers
40
views
Why function in <script> tag does NOT invoke function defined in .gs file in AppScript (Web App)? [duplicate]
issue
details
Recently, I create a new deployment (Web App) in AppScript Editor,
then I copy the Web url and paste it into Microsoft Edge webbrowser url search box.
When I click a button, it alerts ...
0
votes
0
answers
16
views
I need to switch it to https://localhost:<port>
I’ve developed a project using FastAPI and TypeScript, which is currently running on a Windows server. I’m looking to integrate Single Sign-On (SSO) with Microsoft Azure into the project. However, my ...