Hey everyone, is there any way around to get ALTIm...
# suitecommerce
h
Hey everyone, is there any way around to get ALTImage field in saved search or in file object, I have tried with the saved search there is no field related to altImage , and I have tried to load the file and then check the object but could not get the required altimage field data !! Attached is the screenshot for your reference guys, mentioned is the field I am looking for , THanks Slack Conversation
e
h
So we cannot do that in suite scripts? What if I am not using SCA account ?
e
Hmm I am confused, you can create a suiteQL query in the same way you create a saved search via code using suitescript. Look at help or suiteanswer to get a better idea if you are new with suiteQL
1
h
Ohh sorry I haven't much idea about suiteQL but yeah Okay sounds good , I'll figure out this, thanks btw
👌 1
j
@humzariaz
alttagcaption
is a ghost I’ve been chasing for years. I don’t know what your use case is, but it’s just kinda one of those things that you can’t ever seem to access by a saved search or even SuiteScript. It baffles me that NetSuite doesn’t think we would ever need a way to easily set image alt text in a way that isn’t load each individual image record, putting in alt text and saving. I’ve been trying to manipulate it directly on the document record for months without any luck. The closest I’ve been able to come has been loading the
itemimages
sublist from an item record and looping through it that way. In that case,
alttagcaption
can be manipulated, but it exists in a sublist, it has a limit of 35 characters (whereas loading it directly would not). I wish I had some better news for you, but if you’re trying to easily access it in a search or otherwise, you’re in for a headache
h
@Jacob D Thanks , for sharing this information . Can we get itemimages somehow in suiteanalytics dataset ? Have you worked on this
j
@humzariaz We don’t use suiteanalytics, so that’s not something I’ve ever experimented with. I was mostly trying to manipulate that field for ADA compliance reasons and labeling images in the item image carousel