Issue:
The documents are not populating on the portal once they are uploaded. The documents were not viewable and were seen with a warning symbol.
Screenshots:
Error upon inspecting:

Since the data is coming from activity field, in case of the lead having multiple activities, the system will not be able to understand from which activity is the document coming from.
Detailed screenshots of the activity fields :
Mx_Custom_18:

mx_custom_18.mx_customobject111:

Resolution: Upload the document in the lead field.
Thanks and Regards,
Purab Saxena
