since ‎26-03-2007
Online
tarekahf
Level 5
Detect field value changes in a panel and prevent switching to another panel tarekahf - Adobe Experience Manager Forms
I have done the following:- Developed Adaptive Form with navigation tabs on the left- Used fragments and implemented a lazy loading- In my code, I can detect navigation changes using guideBridge events- The fragment will be loaded lazily, and the guideBridge event "elementLazyLoaded" is triggered when the user clicks on the relevant tab, and the data get loaded successfully only for that fragment. All is working like a charm. Problem: I noticed when the user switches the navigation from one frag...
20
Views
0
Likes
0
Answers and Comments
Re: AEM form data model 'Error in fetching Datasource' er... tarekahf - Adobe Experience Manager
Just download the JAR Connector/J file from the MySQL Download page, unzip the file and use the filename which has "-bin" in it. Also, make sure the AEM machine can connect to the MySQL Machine using "telnet" command. Or try to run a query from the AEM Machine to MySQL using any Query Tool installed on AEM Machine. Make sure to verify all configuration related to the driver and data source in the AEM web console. I used the latest 5.1.x version from here:https://dev.mysql.com/downloads/connector...
3022
Views
1
Like
0
Replies
Re: Image Field in Adaptive Forms tarekahf - Adobe Experience Manager Forms
You said, "we"? Are you referring to Adobe? or some other company? And the point is to find an article or document that describes how to build a component for AEM Forms.
11357
Views
0
Likes
0
Replies
Re: Image Field in Adaptive Forms tarekahf - Adobe Experience Manager Forms
Yes, we already have the needed license. But I don't see a File Upload Component that allows you to see the image after upload. You can use a File Attachment Component. After you attach the image, it will show a paper clip. Then, you have to click on the paper click to see the image. I want an option to show the image as a thumbnail with original quality. This is because the use case we are working on needs to allow inserting many images and maintain the original high quality of the uploaded fil...
11425
Views
0
Likes
2
Replies
Re: Image Field in Adaptive Forms tarekahf - Adobe Experience Manager Forms
Thanks a lot. Is this the same as developing a component? I am looking for a solution that provides a component that you can drag-and-drop onto the form that provides the image file upload function.
11434
Views
0
Likes
4
Replies
Re: File upload field is not working in AEM 6.5 tarekahf - Adobe Experience Manager
Can you please provide link to article which has steps to implement file upload field for AEM Adaptive Form?
1084
Views
0
Likes
0
Comments
Re: Image Field in Adaptive Forms tarekahf - Adobe Experience Manager Forms
The links you provided in your post are not working. I need to find out how to implement a File Upload Component Field for Images in AEM Adaptive Form. Tarek
11506
Views
0
Likes
6
Replies
Re: I'm Losing LiveCycle. What are my Options? tarekahf - Adobe LiveCycle
You have options, but there will be limitations. We faced similar problems before, and the main problem was how to use the XFA/XDP designs in an alternative Designer. You can find an alternative, but you have to live with the following limitations: 1. Re-design from scratch all the designed forms based on the newly chosen designer tool2. Cannot use the designs for a Dynamic PDF and Data Entry.3. Use the designs to render the output in static PDF only. Dynamic results are limited only by the new ...
1791
Views
1
Like
0
Answers
Re: I'm Losing LiveCycle. What are my Options? tarekahf - Adobe LiveCycle
Added my answer to the main post.
1703
Views
0
Likes
0
Comments
Single threaded vs. multithreaded process. tarekahf - Adobe LiveCycle
If you develop a process in LiveCycle Workbench that as a script object or step, does this mean that this step will be single-threaded? Or multi-threaded? Or it can be configured?What is the impact in case it is single-threaded? It will slow other processes if it will run on the server part of a long batch job for example? How this should affect my decision to use or not to use a script step and use a Java component instead? This is because I was told that using components means it is guaranteed...
1052
Views
0
Likes
0
Answers and Comments
Re: Is it possible to use a source code control such as GIT with Workbench tarekahf - Adobe LiveCycle
Finally, we managed to move all our code to SVN. It's not very smooth process, but it is much better than before.
1280
Views
0
Likes
0
Answers
Re: how to use multi-threaded file conversions ? tarekahf - Adobe LiveCycle
Urgent question please... Are script steps in Adobe LiveCycle ES4 process are they single threaded always or they are multi threaded or they can be configured? Tarek
898
Views
0
Likes
0
Answers
Execute Javascript in the background (asynchronous task) tarekahf - Adobe LiveCycle
There is a form that requires images with more than 50 images.We have developed an integrated Image Quality Process that will do the following:Upon inserting an image onto an image field, the process will generate 3 version of the image quality: Low, High, Original, and save them on the serverBefore submit, bring the low quality version for all image fieldsOn form load, bring the original quality for all image fields.Now the above is working fine, but as you might have guessed, there is a perfor...
1416
Views
0
Likes
1
Answers and Comments
If image is larger the the image field, it will stretch beyond the border when the PDF is flattened. tarekahf - Adobe LiveCycle
We have developed logic to check if the XFA JavaScript is running on the server, it will load the original image with high-quality in order to flatten the PDF with the original image. We noticed that, on the flattened PDF, the image will stretch beyond the image field borders if the size is bigger than the dimensions set in Designer.The logic will execute a webservice on one of the document events such as Doc Ready, Form Ready, Layout Ready, server side only. We tried all such events. This web s...
788
Views
0
Likes
0
Answers and Comments
Re: XML Transformation using XSLT tarekahf - Adobe LiveCycle
This will work, but when I tried to apply the above using this online tool for example, it didn't work:Free Online XSL Transformer (XSLT) - FreeFormatter.com Also, there s XSL plugin with Notepad++, but for some reason, I cannot use the dyn library.I'm not sure what is wrong?!Can you help with this?Tarek
1543
Views
0
Likes
0
Answers
Re: XML Transformation using XSLT tarekahf - Adobe LiveCycle
Thanks Bruce! There are more than 1000 fields, it'll be very hard to do such mapping. I am looking for a solution to automate this or at least introduce a step to minimize the manual work.Steps I am thinking of:1. Write XSL to map the structure and leave field names as is. Looks like this is doable.2. Prepare a table in Excel Sheet to map the field names from 1st XML to the 2nd XML. It'll be simple two columns table.3. Apply find/replace using the table rows in 2 above as input. I can write a pr...
1549
Views
0
Likes
0
Answers
Re: XML Transformation using XSLT tarekahf - Adobe LiveCycle
I think i can manage to write XSLT to perform the transformation. However, I am facing the following difficulties:1. The image fields are located in another element. I mean, you have to do another lookup to find the image Base64 data. For example, the image field in the XML above app_rep2/appraisal/form[@name="photo1"]/tag[@name="PHOTO1"] is pointing to "../../../attachments/attachment[@key='267463fa-0073-4c10-83d6-fd8141641b72']" which has the image data and possibly some other details. I was u...
1521
Views
1
Like
0
Answers
XML Transformation using XSLT tarekahf - Adobe LiveCycle
We have a complex XDP for Appraiser Application Form with XML Data Model (default one, nothing fancy). There is another XDP of the same Application Form, same layout, but with different model and XML Structure. The XML Structure of the 2nd form is based on format which I am not familiar with, but I can understand what is in there.The 1st XML is plain vanilla XML, straight forward.The 2nd XML has multiple nested sections, and the field names are specified in the attribute of the tag element. The ...
6356
Views
1
Like
8
Answers and Comments
Is it possible to use a source code control such as GIT with Workbench tarekahf - Adobe LiveCycle
We are so far stuck with Adobe LiveCycle ES4. For the purpose of this post, I am referring to Workbench and Designer.The source code control that is built-in to Workbench is very primitive, and has no compare/merge capabilities. There is an issue with getting an old version from the history if the file is large. the bottom line, it is very hard for multiple developers to work on a project simultaneously. If you forget to synchronize before you check-out, the changes of the developer who worked b...
1435
Views
0
Likes
1
Answers and Comments
Re: Announcing the Availability of Adobe Experience Manager 6.5 tarekahf - Adobe Experience Manager
The team in charge replied and the ball started rolling to evaluate AEM Forms.
14006
Views
0
Likes
0
Replies
Re: Announcing the Availability of Adobe Experience Manager 6.5 tarekahf - Adobe Experience Manager
kautuksahni​: I sent email to customercare@adobe.com and also left a voicemail for the Marketing Cloud team.Hope someone will get back to me soon.Tarek
14006
Views
0
Likes
0
Replies
Re: Announcing the Availability of Adobe Experience Manager 6.5 tarekahf - Adobe Experience Manager
Hi,We already have Adobe LiveCycle ES4, and now we are considering to implement a Business Orchestration Tool that will help to bring the Business People and Developers closer to each other. Am I in the right Forum Section? We are considering Camunda, and I am not sure if there any overlap between Camunda and Adobe AEM related products. It makes sense to consider upgrading to new AEM Workflow Product if available. I am sure that there is some overlap between Camunda and Adobe LiveCycle ES4 Workf...
14006
Views
0
Likes
3
Replies
Re: Searchable drop down menu? tarekahf - Adobe LiveCycle
Thank BR001​..So far everything looks fine on my side, I will add my findings below to help improve the reusability of such components in the future...I tried to use a fragment inserted on the master page, which will be used to how/hide the Autocomplete subform (component). This approach worked with limited success. I was able to show/hide the instance on the designated page, however, I need to solve two problems:If there are other elements on the same position of the list box of Autocomplete, a...
1715
Views
0
Likes
0
Answers
Re: Searchable drop down menu? tarekahf - Adobe LiveCycle
Very clear ...I think objects are better than custom objects, because you can change the reference objects, and the change will be reflected everywhere. I don't think custom objects have this feature.In relation to object, I tried to modify the "use" attribute using javascript, but it didn't work. I got error during runtime that the assigned value is not valid or something like that.This feature object is awesome, but why it is not well documented in the Adobe References/Help resources? Also,...
1647
Views
0
Likes
0
Answers
Re: Searchable drop down menu? tarekahf - Adobe LiveCycle
Thanks again.I checked the proto object, and it is now clear to me how to use it.Just to verify my understanding, in order to use the proto object, first you have to create it, then use it with the "use" attribute. But, in order to create the proto object, you must add the tag using XML source view, since you cannot use the UI to insert the proto object, correct?What about including the fragment in the master page (which has the Autocomplete with the pull-down effect), and use it in all other s...
1648
Views
0
Likes
0
Answers
Re: Using fragment to implement Drop-Down List Field with search / auto populate tarekahf - Adobe LiveCycle
Please see update here:Re: Searchable drop down menu? The work nearly completed, and if you have any question, please let me know.Tarek
896
Views
0
Likes
0
Answers
Re: Searchable drop down menu? tarekahf - Adobe LiveCycle
Thanks BR001​...I managed to develop a wrapper component using Java Servlet that will: 1) get authentication token then call suggest DMTI service (search as you type) and 2) get the token then call recognize DMTI service (get address parts). Also, I implemented the Servlet call from PDF using "FromCalc.Function.Get(url)" and it's honestly beautiful.Not only it's working fine, in addition, now I have a reusable component that can be implemented on any Text field.I have the following questions to ...
1651
Views
0
Likes
0
Answers
Re: Searchable drop down menu? tarekahf - Adobe LiveCycle
I was able to use the Net.HTTP and SOAP object to access the same DMTI service, but it worked only on the console window:var jData;var prm = {cVerb:"GET", aHeaders: [{name: "Authorization", value:"authentication-token"}], cURL: "https://app2.dmtispatialxxx.com/servicesxxx/rest/suggest?limit=60&includePostalCode=true&address=20%20crown%20ste", oHandler: { response: function (msg, uri, e) { console.println("\nThis is the response method:"); console.println("msg=" + msg); //for (var p in msg) { // ...
1690
Views
1
Like
0
Answers
Re: Searchable drop down menu? tarekahf - Adobe LiveCycle
Hi BR001​,Could you please take a look at this post:Re: Using fragment to implement Drop-Down List Field with search / auto populateI was able to reimplement your code in the form to perform autocomplete based on Google Places API. Now I need to use another service based on DMTI not Google Maps. The problem is that I have to authenticate using xhr.setRequestHeader() function before I can invoke the URL. How I can do that?Appreciate your help.Tarek
1637
Views
0
Likes
0
Answers
Re: Using fragment to implement Drop-Down List Field with search / auto populate tarekahf - Adobe LiveCycle
I was able to implement a fragment that allows autocomplete for address (search as you type) based on Google Maps APIs.Now I need to do the same using DMTI services. I was able to write the Javascript code that will perform the search function, but I am not sure how I can implement it in the PDF Javascript that was developed by BR001​.The problem is that the service must be authenticated before it can be used. This is a sample code:var request = new XMLHttpRequest();request.responseType = "json"...
893
Views
0
Likes
0
Answers