Here i am getting a problem my string is contains a Link but i can not convert in Hyperlink when the document opens in google docs then it takes a normal text.
const handleExportData = async () => {
let exportDocData =
x.response + ‘nnRecommended TechRow Videos :’;
x?.assetsData?.map(async (item, index) => {
let url = https://my-app.com/portal/video-details?id=${item.id}&${item.is2D}&transcoder=${item.transcoder}&vurl=${item.playbackUrl}
;
exportDocData += nn${index + 1}. Title: ${item.title} ${ item.description ?
nDescription: ${item.description} : '' }nLink: ${url}
;
});
console.log(exportDocData);
// Modify the string before export
};
Jay Pipaliya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.