Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

manu-gupta
Community profile manu-gupta Level 2
Principal Consultant
Pune, India
5 BADGES
Level 2

Level 2

Learn more
Joined the community 07-05-2018 10:09:14 PM
Online
Top badges earned by manu-gupta
Customize the badges you want to showcase on your profile
Re: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi FolksI was able to achieve the solution by storing the PDF intermediately generated in temp location and then reading it from there to further DDX operation.Thanks all for your suggestions and input, it helped build the solution.

Views

32

Likes

0

Replies

0
Betreff: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
@Kosta_Prokopiu1 @Mayank_Gandhi at Step 4, there is condition we have put, if request is for flat, then PDF without any additional blank pages are generated and shared with customer. If the request has Print = true then we pass this flat pdf to DDX operation to add blank pages as described in step 6 onwards.@Kosta_Prokopiu1 to answer your question "we need to add a 1 Number dynamically to PDF"? - it is just business defined number which needs to be added to footer of the pageyour second q - Answ...

Views

80

Likes

0

Replies

0
Betreff: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
this ddx xml i started with, my requirement is slightly more complex:Flow start like this:1. Upstream application sends JSON data2. JAVA code converts the JSON to XML Data3. Passes XDP path with XML Data to Output Services to generate flat pdf.4. This PDF is sent to customer, if customer had requested Print Version then this PDF is converted to Print version as below5. Once PDF is generated in step 4, its pages are to be calculated6. If pdf has pages in multiples of 4, then we need to add 1 Numb...

Views

116

Likes

0

Replies

0
Re: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
@Mayank_Gandhi - Please keep it unanswered as my problem is different from what you suggest. I have same XDP template serving different needs, for flat, fillable or print. ONLY in the case of print I am adding blank PDF page so I cannot put that in XDP. Hence I am looking for DDX operation to first generate the flat PDF then combine it with blank pdf at different places of main PDF(in between and as well as last pages) to generate Print version. Since I am on OSGI architecture so cannot use Work...

Views

104

Like

1

Replies

1
Re: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Nope it is same PDF for which I am getting the page count using one DDX and post doing some calculation based on page count I need to update the same PDF with new blank pages. I cannot use Workbench as solution is supposed to be on AEM 6.5.7/8 with Forms OSGI. @Mayank_Gandhi @Kosta_Prokopiu1 any other way I can store the PDF before it is in disposition state?

Views

139

Likes

0

Replies

0
Betreff: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Just to add more details, first i am getting PDF document Information by invoking below DDX and passing PDF Document along to get info.xml then parsing this info.xml by converting aemfd document retrieved to w3c Dom Document and getting Number of Pages.At this point main pdf is throwing exception Document is in disposed state. My requirement is to then invoke another Assembler DDX operation to combine main pdf with blank page pdf, but failing to get main pdf document.

Views

180

Likes

0

Replies

0
Betreff: Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Thanks Kosta,I am exactly doing this operation only, just to addI am assigning name to PDF generated from OutputService.generatePDFOutput using setAttribute("Name","FormName"). Now using this FormName i am creating input Map. Now the issue, when I passing PDF originally generated in map is showing errorjava.lang.IllegalStateException: Document is in a disposed state! at com.adobe.aemfd.docmanager.Document.checkDisposed(Document.java:236) at com.adobe.aemfd.docmanager.Document.passivate(Document....

Views

195

Likes

0

Replies

0
Passing Flat PDF Name to DDX invoke method
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi folksI have a ask to generate PDF file which has blank pdf assembled with main pdf.I had generated main PDF from XDP using OutputService.generatePDFOutput() and received a aemfd document PDF.Now i have DDX file which is like below and I am not what I should be putting in 1st child I have checked the DDX file operation and it is working fine if I generate a static PDF, copy it at physical location with some name to PDF and provide the same Name to this DDX file. And it generates the des...

Views

383

Likes

0

Replies

17
AEM forms field pattern rendering on DocuSign portal
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Adobe Forms Designer 6.2We have XFA based PDF forms designed in Adobe Designer and using workflow process we are prefilling the data for forms using binding.Forms are using display pattern on few fields like account number , date in mm/dd/yyyy, SSN. These fields when prefilled with data are retaining display pattern when viewed on acrobat pdf or chrome, but issue is DocuSign portal is unable display in right format and stripping off any pattern.However when PDF is modified manually on top of tha...

Views

215

Likes

0

Replies

0
Formatting or using Display pattern for XFA Field Data in XDP
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi FolksWe have XDP generating PDF as Dynamic XFA PDF with data filled using only Display pattern for Telephone like text{'('999')'999-9999} or SSN like text{999-99-9999}. When PDF generated in opened in Acrobat reader or chrome browser it displays fine but when it is opened in DocuSign Portal then display pattern is lost.Client is looking for if we can manipulate rawValue using Javascript and save it along with formatting in rawValue so that it displays same formatting or pattern when opened in...

Views

290

Likes

0

Replies

1
Re: Unable to go past the login page of JEE Server Admin...
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Thanks we had to bring active server down and then enabled backup server and made Allowed Referer Settings after accessing localhost.

Views

254

Likes

0

Replies

0
Re: Unable to go past the login page of JEE Server Admin...
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
since it is a backup server in active passive architecture, I cannot bring it up for just testing. Is there a way i can check the settings while service is down in any config file?

Views

322

Likes

0

Replies

0
Unable to go past the login page of JEE Server Admin UI AEM 6.2
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi folksI have AEM 6.2 JEE server which is identified by as backup server. Recently as DR activity we tried enabling the server but I cannot go past the login screen, and upon checking logs, it shows21:20:29,503 WARNING [com.adobe.idp.um.auth.filter.CSRFFilter] (http-/0.0.0.0:8443-3) Blocked request for resource:/adminui/login.faces due to invalid referer:https://XXXXbdc.YYYY.com:8443/adminui/login.faces. More information is available at http://www.adobe.com/go/learn_dep_hardening_10 {"outcome" ...

Views

380

Likes

0

Replies

8
Prefilling from MS Dynamics for AEM Adaptive
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi Techies,I am working on getting Data from MS Dynamics, it is interacting with lead entity and I am able to get request and response using GET/POST/PUT operations using rule editor when any panel or field is initialized or changed.Now I need to prefill the form using http://localhost:4502/editor.html/content/forms/af/we-finance/cc-app.html?new_applicationid=1234I tried adding below code in /libs/fd/af/components/page2/aftemplatedpage/aftemplatedpage.jsp but unable to get values in form. I dont...

Views

269

Likes

0

Replies

1
Re: Prefill Service for Unauthenticated users?
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Refer to this link https://docs.adobe.com/content/help/en/experience-manager-64/forms/adaptive-forms-basic-authoring/auto-save-an-adaptive-form.htmlthis allows auto save feature which will save data for Anonymous user in AEM repo. Hope this help.

Views

279

Like

1

Replies

1
getting error when using formsService.renderPDFForm method in JAVA code
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Hi techiesI am trying to get interactive PDF generated from XDP from particular NAS location.XDP path is getting resolved and I am getting object returned from PDFFormRenderOptions after passing xciSetting.xci path using crx:/// path which is uploaded to my local AEM instance.But i am passing xciSetting Object along with XDP path toPDFFormRenderOptions ro = getRenderOptions(pathToXCIFile, pathToXDP);Document returnDoc = formsService.renderPDFForm(xdp, null, ro);I am unable to get PDF generated a...

Views

564

Likes

0

Replies

2
Re: Unable to make Print and Clear button on PDF within b...
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
I checked on IE11 its working fine, however i observed the forms developed in Adobe InDesign have javascript working on Chrome also on same version. Can you explain the reason for same and how can I make it work for Chrome?

Views

6.4K

Likes

0

Replies

0
Re: Unable to make Print and Clear button on PDF within b...
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Thanks for response but I have issue with IE some security settings is restricting me to open any pdf on IE so using Chrome Version 78.0.3904.87 (Official Build) (32-bit) where I am able to open PDF but javascript is not at all working. Even I tried creating PDF from sample templates and included OOB reset button but nothing happens on PDF when it is opened on chrome browser

Views

6.4K

Likes

0

Replies

0
Unable to make Print and Clear button on PDF within browser
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Hi folksWe have XFA based static PDF which is developed in Designer, it has print and clear button which works fine on Adobe Acrobat Reader and Professional but when PDF is opened in chrome or IE then button stops working?Code written is xfa.hosts.resetData() which is called on click event with RunAt "Client and Server" set?Default form properties:Default language: javascriptDefault Run At: Client and Server However same form which was earlier developed on inDesign and same js and is working fin...

Views

6.4K

Likes

0

Replies

5
Re: Getting REST API headers in process running on Workbench
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
do you have any script handy to handle this usecase. essentially I need to check the header request and extract to our process.I tried creating custom component with method having arguments as Object of HttpServletRequest request type. But I am not sure how to capture it.Appreciate your response here.Manu

Views

1.5K

Likes

0

Replies

0
Re: Changing http response status code when exception occurs in Workbench process
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
thanks, I got solution by not handling exception (routing to SetValue operation and setting custom error response) instead I left process to show real error as text/HTML response with http status code 500.This is a work around as for every error in process we are getting 500 http status code and we cannot override with our custom response.

Views

1.5K

Likes

0

Replies

0
Re: Changing http response status code when exception occurs in Workbench process
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi Mayank,Since we know event is triggered on Exception, which I assign to SetValue operation in variable as self defined error string with description. But some how I cannot change the http status code.So need pointers on thatManu

Views

1.5K

Likes

0

Replies

0
Changing http response status code when exception occurs in Workbench process
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi,Did anyone try changing HTTP Status COde from 200 to 4XX or 5XX in process in case OOB event for exception is triggered?I have created process in Workbench where we are consuming JSON as body input and passing it through few business specific exceptions and OOB provided Exceptions like FileUtilsExceptions, Since processis invoked correctly but some validation failure or file operations failure can we pass the response with error description and HTTP STATUS code to != 200Any pointersAEM 6.2 on...

Views

2.2K

Likes

0

Replies

4
Changing http status code on Event trigger of process
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Hi,Did anyone try changing HTTP Status COde from 200 to 4XX or 5XX in process in case OOB event for exception is triggered?I have created process in Workbench where we are consuming JSON as body input and passing it through few business specific exceptions and OOB provided Exceptions like FileUtilsExceptions, Since processis invoked correctly but some validation failure or file operations failure can we pass the response with error description and HTTP STATUS code to != 200Any pointersAEM 6.2 on...

Views

966

Likes

0

Replies

0
AEM process to capture request headers
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Hi,Did anyone try pulling REST API Request headers in process as process variable?I have created process in Workbench where we are consuming JSON as body input and passing few business specific header request params. I want to retrieve those header and log in server.log when process is invoked?Any pointersAEM 6.2 on JBOSSWorkBench 6.2Manu

Views

986

Likes

0

Replies

0
Getting REST API headers in process running on Workbench
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Hi,Did anyone try pulling REST API Request headers in process as process variable?I have created process in Workbench where we are consuming JSON as body input and passing few business specific header request params. I want to retrieve those header and log in server.log when process is invoked?Any pointersAEM 6.2 on JBOSSWorkBench 6.2Manu

Views

1.6K

Likes

0

Replies

2
Re: AEM Forms: Capture Exception in process variable
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
thanks Mayank, this we are already doing.I want more details on specific error thrown from exception like if my PDF generation is failing with generatePDFOutput2 OutputException then is it XML input causing issue or XDP.Or if I am doing XML validation against XSD then I should get which node is causing issue.So more or less I am looking for Stacktrace assigned to output variable and see it directly rather than logging into server and look for server.log.Hope you got my point which direction I am...

Views

1.5K

Like

1

Replies

0
Re: AEM Forms: Capture Exception in process variable
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe Experience Manager Forms
Sure, awaiting response

Views

1.5K

Like

1

Replies

0
AEM Forms: Capture Exception in process variable
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Hi Techies,We are using standard services like Foundation/FileUtilServices and similar services in our workbench process and want to assign error thrown by FileUtilException to process variable, so that we can pass it to output whenever process fails.Can you help provide inputs how we can achieve it.AEM 6.2AEM Forms on JBOSSWorkbench 6.2

Views

981

Likes

0

Replies

0
AEM Livecycle: REST API invocation url
Avatar
Establish
Level 2
manu-gupta
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Establish
View profile
manu-gupta
- Adobe LiveCycle
Hi folks,I have a requirement to check whether the process defined is invoked from DEV/QA/Prod and accordingly check the properties file to set variables. I was thinking to capture REST API URI which can tell me the calling url is of DEV/QA/PROD?Did someone implemented any process in similar fashion or suggest an option to fill the requirement?Manu

Views

988

Likes

0

Replies

0
Likes given to
Likes from