{editmode ? (
diff --git a/microfrontends/SignDocuments/src/Component/PdfRequestFiles.js b/microfrontends/SignDocuments/src/Component/PdfRequestFiles.js
index 14bcae234..9294e2761 100644
--- a/microfrontends/SignDocuments/src/Component/PdfRequestFiles.js
+++ b/microfrontends/SignDocuments/src/Component/PdfRequestFiles.js
@@ -362,9 +362,13 @@ function PdfRequestFiles() {
});
const flag = false;
+ const extUserPtr = pdfDetails[0].ExtUserPtr;
+ const HeaderDocId = extUserPtr?.HeaderDocId;
//embed document's object id to all pages in pdf document
- if (!isDocId) {
- await embedDocId(pdfDoc, documentId, allPages);
+ if (!HeaderDocId) {
+ if (!isDocId) {
+ await embedDocId(pdfDoc, documentId, allPages);
+ }
}
//embed multi signature in pdf
const pdfBytes = await multiSignEmbed(
@@ -631,7 +635,7 @@ function PdfRequestFiles() {
justifyContent: "center",
flexDirection: "column",
alignItems: "center",
- zIndex: "20",
+ zIndex: "999",
backgroundColor: "#e6f2f2",
opacity: 0.8
}}
diff --git a/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js b/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js
index 6a9cc86dc..f7950d488 100644
--- a/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js
+++ b/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js
@@ -518,8 +518,13 @@ function SignYourSelf() {
const flag = true;
- await embedDocId(pdfDoc, documentId, allPages);
+ const extUserPtr = pdfDetails[0].ExtUserPtr;
+ const HeaderDocId = extUserPtr?.HeaderDocId;
+ //embed document's object id to all pages in pdf document
+ if (!HeaderDocId) {
+ await embedDocId(pdfDoc, documentId, allPages);
+ }
//embed multi signature in pdf
const pdfBytes = await multiSignEmbed(
xyPostion,
diff --git a/microfrontends/SignDocuments/src/Component/TemplatePlaceholder.js b/microfrontends/SignDocuments/src/Component/TemplatePlaceholder.js
index bb39ba73c..d43454c70 100644
--- a/microfrontends/SignDocuments/src/Component/TemplatePlaceholder.js
+++ b/microfrontends/SignDocuments/src/Component/TemplatePlaceholder.js
@@ -1326,11 +1326,12 @@ const TemplatePlaceholder = () => {
/>
{
setShowDropdown={setShowDropdown}
handleSaveWidgetsOptions={handleSaveWidgetsOptions}
currWidgetsDetails={currWidgetsDetails}
+ setCurrWidgetsDetails={setCurrWidgetsDetails}
/>