since ‎26-03-2007
‎11-02-2021
tarekahf
Level 5
Re: Announcing the Availability of Adobe Experience Manager 6.5
Avatar

tarekahf

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...

Views

15.0K

Likes

0

Replies

3
Re: Searchable drop down menu?
Avatar

tarekahf

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...

Views

2.8K

Likes

0

Replies

0
Re: Searchable drop down menu?
Avatar

tarekahf

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,...

Views

2.7K

Likes

0

Replies

0
Re: Searchable drop down menu?
Avatar

tarekahf

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...

Views

2.7K

Likes

0

Replies

0
Re: Using fragment to implement Drop-Down List Field with search / auto populate
Avatar

tarekahf

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

Views

1.1K

Likes

0

Replies

0
Re: Searchable drop down menu?
Avatar

tarekahf

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 ...

Views

2.7K

Likes

0

Replies

0
Re: Searchable drop down menu?
Avatar

tarekahf

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) { // ...

Views

2.7K

Like

1

Replies

0
Re: Searchable drop down menu?
Avatar

tarekahf

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

Views

2.7K

Likes

0

Replies

0
Re: Using fragment to implement Drop-Down List Field with search / auto populate
Avatar

tarekahf

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"...

Views

1.1K

Likes

0

Replies

0
Clear digital signature (right-click) takes long time
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Any idea how to troubleshoot this issue or how to solve it:It take long time to clear digital signature. The form was designed using Adobe LiveCycle ES and Reader-Enabled. When you open the form in Acrobat, after it is filled and signed (two signatures), then when you right-click and clear the signatures, it takes long time to complete, probably several minutes. It seems it is stuck, but then it is cleared.If I sign and clear each signature alone, it is normal. Only when both signatures are sign...

Views

1.3K

Likes

0

Replies

1
Re: Using fragment to implement Drop-Down List Field with search / auto populate
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
There is another request to do something similar but to apply it on the "Address Field". We want to use something like Google Maps APIs to search as you type or Autocomplete to search address and display the results in a popup. So, upon selection, we need to populate the various related address fields (Street Number, Name, City, Province, Postal Code). I have implemented this in HTML5 with AngularJS.I will suggest this approach again for Adobe LiveCycle PDF (JavaScript), in addition, will sugges...

Views

890

Likes

0

Replies

0
Required field is visible but the parent object is hidden, how to get around this situation?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
We have developed required field custom validation logic, that will loop over list of required fields, one at a time, check if field is empty or null, then it will highlight the field, and raise validation error, one error for all fields that are not filled.The problem is that the field is marked as required, and the parent subform or object is hidden, due to a bug for example.How we can get around this issue?One way it to display the list of empty fields in a subform along with the Required Fie...

Views

2.5K

Like

1

Replies

2
Re: Table rows do not break into the next page if height exceeds the limit.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Many thanks altrue990​ ! Your reply makes a lot of sense.I did a lot of research, applied your recommendation, and came to the following conclusion....Most probably this issue happened because the table is being generated in the "Form Ready" Event of the page that has the table. I think this is causing the rendering engine to get confused. I remember that we are not supposed to change the layout in the form ready event, as this might cause repeated triggering of this event.When I imported the da...

Views

1.3K

Like

1

Replies

0
Table rows do not break into the next page if height exceeds the limit.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I have very puzzling issue. The expanding table with repeating rows do not break properly on the second page. On the first page, it breaks properly.I noticed that if the row will exceed the allowed height, then there is truncation, and not only the current row is truncated, also, the next row becomes hidden. If I search for the text that is supposed to show, it is found, but not visible on the screen. It seems it is hidden by the boundaries of the page, not the content area.I know how to use exp...

Views

1.8K

Like

1

Replies

2
Re: Convert string to function without using eval.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thanks a lot Magus069​ ... sure this will work ...I will try to implement this in the coming sprints. I only have 3-4 functions like that.But I am always wondering, if our team is writing the code, then why we should be concerned about using "eval()"??! What risks it will have? No external party has access to change the possible value of the code to be executed by "eval()".Tarek

Views

2.3K

Likes

0

Replies

0
Convert string to function without using eval.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Please check this article:https://www.sitepoint.com/call-javascript-function-string-without-using-eval/I am looking for a way to convert string to a function call without using eval. The reason for this is that I am using Json to store Appraisal Valuation Rules, and sometimes the rule is so complex that it has to be in a dedicated function. So, I decided to use standard function with two parameters only. The rule will look something like the following: { clients: ["Client 1", "Client 4", "Client...

Views

3.4K

Likes

0

Replies

2
Re: Inserted fragments, sometimes they appear in XML under the parent form
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Yes, this will help a lot... clearing default property overrides worked.Also, I need to find out how this happens. It seems it's a bug, or I am doing something that triggers this issue.I know this could be useful, but I need to know how this behaviour can be enabled, in case I need it.If you find out, I appreciate your letting me know about it.However, after a quick research, it seems this is a bug. A lot of people are complaining about this. This is just one example.And, I found a couple of pos...

Views

871

Likes

0

Replies

0
Inserted fragments, sometimes they appear in XML under the parent form
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
There is a main form that has several fragments (subforms). Such fragment object, when you expand it in the Hierarchy view, it is visible but not enabled (not clickable). Also, it doesn't show in the XML view. This is the normal expected behaviour.Sometime, I notice that some of the fragments become enabled in the Hierarchy view, and you see all the child elements are clickable (enabled). Also, they show when you switch to XML View.This happens sometimes, for some of the fragments, not all. I am...

Views

1.0K

Likes

0

Replies

2
How to change language (locale) of the calculation override error message?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
The form is in French, and the built-in error is showing in English. How we can fix this?This error is showing because the field is calculated (read-only), and there is code that unlocks all fields in the form, and this field becomes write-enabled. So, in this case if the user tries to modify it, he will get this error. Any way to fix it? This is not accepted by French users.Tarek

Views

801

Likes

0

Replies

1
Re: Use Image Processing Service based on simple URL service method
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thanks Bruce,When I tried using Get in FormCalc for any URL to any image, I get blank results. I think this is because the result is in binary, not in String format. How I can make sure that "Get()" is working at least in FormCalc for image URLs? I tried it over XML URL, and it worked.Tarek

Views

562

Likes

0

Replies

0
Use Image Processing Service based on simple URL service method
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I found this image processing service which does a good job for processing images:RSZ.IO - a free responsive image serviceI was able to write this sample Javascript code to get the Base64 of the image after using the service:var canvas = document.createElement("canvas")var img = new Image();img.onload = function() { canvas.width=img.width; canvas.height=img.height; var ctx=canvas.getContext("2d"); ctx.drawImage(img, 0,0, img.width, img.height); console.log("Image load success: Data URL of the im...

Views

1.0K

Likes

0

Replies

3
Re: Convert MS Excel Table to JSON in Adobe LiveCycle Form using JavaScript
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thank you Bruce, that was pretty close to what I was looking for. I did test it with Excel file I had, and it worked.I think with a some additional study and research, I will be able to get Json Object. I honestly thought that something like this cannot be done in xfa JavaScript.I didn't follow you on the above statement, what do you mean?I also was wondering if it is possible in principle to port the library :js-xlsxinto script objects in xfa form?Tarek

Views

677

Likes

0

Replies

0
Convert MS Excel Table to JSON in Adobe LiveCycle Form using JavaScript
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I followed the steps as per this video:Convert Excel to JSON with Javascript - YouTube and I was able to convert a table from MS Excel to Json in using JavaScript in Chrome and IE Browsers.I was wondering if we are able to import this library script:js-xlsxinto Script Objects in Adobe LiveCycle Designer Form, will we be able to follow similar approach to retrieve data from MS Excel Sheet into a Json Object in Adobe LiveCycle Form using JavaScript?Is there an alternative method or something simil...

Views

1.4K

Like

1

Replies

3
Re: Trouble with Exit event script
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Hi Bruce,Good to know that you are not facing the same problems I reported.I am using this version of Adobe LiveCycle Designer, which version you are using? Did you follow the same steps I mentioned to reproduce the problem?Tarek

Views

851

Likes

0

Replies

0
Re: Trouble with Exit event script
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thank you BR001​ for you reply.The conditions that will more likely cause the errors to trigger have been identified and acknowledged by all team members and on all PCs.It is clearly a fault in the product, and I am wondering if this is acknowledged by Adobe.Tarek

Views

738

Likes

0

Replies

0
Re: Using multiple fragments causes Adobe LC workbench/designer to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
As I am working with designer/workbench (even with designer alone) with other team members and working with different forms on different PCs, the following conditions clearly increase the chances of crashes/errors "There is a problem with Adobe Acrobat/Reader...." .The errors will more likely trigger if:1. The form is larger2. Has more form (visual) fragments, nested fragments and script objectsWhen the form is relatively smaller, with less number of fragments/nested fragments, then it is pretty...

Views

878

Likes

0

Replies

0
Re: Trouble with Exit event script
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
The new AEM Designer?! Are you referring to this one?I will give it a try, but I am concerned it will cause issues to existing forms ... I need to set it up on a sandbox environment to test it before using in the actual environment.So you think the new designer will solve the problem?Tarek

Views

741

Likes

0

Replies

0
Re: Using multiple fragments causes Adobe LC workbench/designer to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Following the steps here:Error (10:10) I will post what steps done to try resolve this problem:Remove Adobe Reader DC and Keep Adobe Acrobat DCUsed Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs to clean ReaderRepaired Adobe Acrobat DCThe above may have helped to reduce the number of times the error will be triggered, but not 100% sure. The error still occurs several times per day, especially when I open the fragment and the container (main) form, update the fragment (save) and try ...

Views

734

Likes

0

Replies

0
Re: Using multiple fragments causes Adobe LC workbench/designer to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I will be monitoring when the error will trigger, and try to find the circumstances that will reduce the chances of the error triggering, and I will be posting my observations....As per my testing today, I was trying to monitor Adobe LC Designer and Workbench using ProcessExplorer Windows Tool, and I noticed that when I am monitoring the process, the error will most likely not trigger at all, unless this was a coincidence.Tarek

Views

733

Likes

0

Replies

0
Re: Trouble with Exit event script
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thanks a lot Bruce... I am always learning from your sample PDF forms and code ....Just wondering if you saw this issue here:Using multiple fragments causes Adobe LC workbench/designer to crash The problem is slowing down development work to a great extent.... I suspect it is because of using many nested fragments...Tarek

Views

739

Likes

0

Replies

0