Hi.I want to change the URL of an image from AppScript. I do not have access to the app (I have published it and I do not want to release a new version of it) and I only have access to the app script. .
above block in my app and url image.
I only access released apps through the app script.
is this possible?
Hi.thanks.
There is no any code about the image in the app script.
i want change image adress in published apps and do not want to offer a new version.I accidentally deleted the previous image and the image link changes when I re-upload it.I had no problem if i located link image in a csv file .
Is the image picture in your app set as you show in your first post, with a text block, or does the url come from some other resource, e.g. a csv file that you can update ?
Hi thanks. I have .aia file and I can create a new version with the new image but I want to change the image in the previous version I published .Suppose I do not have the .aia file.
I apologize for my poor English.
appscript
function doGet(e) {
var ss =SpreadsheetApp.openByUrl(e.parameter.SheetUrl);
var sheet = ss.getSheetByName(e.parameter.SheetName);
addUser(e,sheet);
}
function doPost(e) {
var ss = SpreadsheetApp.openByUrl(e.parameter.SheetUrl);
var sheet = ss.getSheetByName(e.parameter.SheetName);
addUser(e,sheet);
}
function addUser(e,sheet) {
var date = e.parameter.date;
var name = e.parameter.name;
var famil = e.parameter.famil;
var father = e.parameter.father;
var point = e.parameter.point;
var SheetUrl = e.parameter.SheetUrl;
var Sheetname = e.parameter.SheetName;
sheet.appendRow([date,name,famil,father,point,SheetUrl,Sheetname])
}
i use above app script my project send data to google sheet(my project also have a link image) .
Is it possible to write code in this app script to change the image link in the app?