Index

Product Document JavaScript properties

Name Type Access
title String read/write
accountName String read-only
documentID String read-only
documentType String read-only
documentStatus String read-only
fileName String read-only
fileSizeBytes Integer read-only
fileType String read-only

Sample Script

// Sample script that looks for documents selected in the Product Safety panel.
function run() {
	for (listing of selectedListings) {
		for (productDocument of listing.productDocuments) {
			consoleLog("Found Product Document: " + productDocument.title);
		}
	}
}


<< Accessing Product Persons Accessing Product Documents >>