2
votes

enter image description here

Google Docs has recently introduced a feature where we can refer to

  • Date
  • Person
  • Google Drive Document

in a form of Chip Block (as shown in the picture above)

I am trying to generate such chip block using Google App Script.

Rich Link Documentation does not have any code snippet or method to add a Rich Link inside a document.

Document Service page also doesn't have detail regarding how to insert a Rich Link.

I wonder whether the feature is not yet implemented in the Google App Script Api

1

1 Answers

6
votes

The smart chips can be retrieved using the methods released on August 23, 2021. Ref. But, unfortunately, in the current stage, it seems that there are no methods for inserting the smart chips. Although I checked about this at both Google Document service and Google Docs API, I couldn't find the methods for this. So, I think that is the current answer.

And also, when I checked the Google issue tracker, I couldn't find anything about your goal. Ref So, how about reporting your goal as a future request at the issue tracker?