since ‎26-03-2007
‎11-02-2021
tarekahf
Level 5
Re: Trouble with Exit event script
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
@BR001 I was looking for this code under XFAUtil... would you be able to provide a downloadable version of this script? Thanks.Tarek

Views

740

Likes

0

Replies

0
Re: Please explain "extras" in livecycle in depth
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Check this post it might be of help:Form Variables Tarek

Views

554

Likes

0

Replies

0
Re: array in global variable
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thank you radzmar ...I always wanted to do that, I mean using Form Variables to store global variables with different types such as objects and arrays. Using eval() is the answer.Also, mind you that you can use uneval() to store the variable back into the form variable. Use this method if the variable is not simple type (number or text).Also, you can use "extras" section under any field or variables section under any subform to create and store variables almost in the same manner. This can be do...

Views

1.4K

Likes

0

Replies

0
Re: Multi-line entries in drop-down
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thanks! It would be great if you could point us to all samples yo may, they are so useful.Tarek

Views

2.9K

Likes

0

Replies

0
Re: Multi-line entries in drop-down
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I think you uploaded another sample ...! But that is OK, because I liked it also....Tarek

Views

2.9K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Based on the code samples you sent, it seems you are working with Acrobat SDK, I am not 100% sure. I didn't work with the APIs you are using, or I cannot remember the details.If the samples I provided you earlier didn't work for you since you want to build desktop application, then try samples in the folder below:Upload Adove LiveCycle Forms Data using .NET Desktop Application - Google Drive I cannot find out what is wrong with your code, since I need to spend a lot of time analyzing it. Please ...

Views

2.9K

Likes

0

Replies

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

tarekahf

tarekahf
- Adobe LiveCycle
Sometimes Adobe LiveCycle Designer crashes or it will give the error below:There is a problem with Adobe Acrobat/Reader.If it is running, please exit and try again. (10:10)I have recorded a screen session to show when is it most likely the error will trigger.Following are the most probably steps that will cause the error to trigger (based on my observation):1. Open Workbench2. Use a form that has multiple nested fragments3. Using designer, open the main form, and open one of the nested fragments...

Views

1.6K

Likes

0

Replies

3
Using multiple fragments causes Adobe LC workbench/designer to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Sometimes Adobe LiveCycle Designer crashes or it will give the error below:There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (10:10) I have recorded a screen session to show when is it most likely the error will trigger.Following are the most probably steps that will cause the error to trigger (based on my observation):1. Open Workbench 2. Use a form that has multiple nested fragments3. Using designer, open the main form, and open one of the nested fragme...

Views

653

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I worked with this project long time ago, so it will be difficult for me to guide you to implement certain requirements.However, I have done some documentation, and I am pretty sure it will be useful. If you go through the sample code and PDF templates, you will be able to develop your own. Some code is developed in a generic way, which can be easily reused.See the shared folder below:Working with Adobe LiveCycle ES2 Forms using ASP.NET - Google DriveAlso, check this folder:Simple Form Rendering...

Views

2.9K

Like

1

Replies

2
Re: Multi-line entries in drop-down
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I need this sample, the link doesn't work. Thank you.Tarek

Views

2.9K

Likes

0

Replies

0
Change form field name dynamically during run-time
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Let's say we have two form sections, they are identical, and the only difference is the field names.Can we create a fragment to implement the two form sections, and during run-time, in the initialize event for example, is it possible to rename the field to qualify the field name and differentiate it from the same field on the other fragment (section)?Tarek

Views

512

Likes

0

Replies

0
Re: Replacement for LiveCycle Designer
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Oh, that looks pretty advanced... you tempted me to see a demo! Do you think that stuff work with Adobe AEM designer?Tarek

Views

2.3K

Likes

0

Replies

0
Re: Replacement for LiveCycle Designer
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
The replacement from Adobe is AEM Forms, and you have the chance to port the created forms to the new designer. I think some additional work is needed to restore the original functionality 100%. In our case, we have decided to move to HTML5 and redevelop the all the forms from scratch using Javascript, Angular and CSS.Tarek

Views

2.2K

Likes

0

Replies

0
Re: Replacement for LiveCycle Designer
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Hi Jeff, Please allow me to mention that we recently are facing several crashes per day when using Adobe LiveCycle especially when we preview. Following are the two most common errors that forces you eventually to close Workbench / Designer and open them again:I hope such problem will be resolved soon.Tarek

Views

2.3K

Likes

0

Replies

0
Relative form element reference doesn't work on the server, for some cases.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I came across very strange case where the relative form/field reference doesn't work on the server side. In such cases, I see error on the server log like the following log related to subform "sfDetrimentalConditions":2018-02-27 11:51:02,904 INFO [com.adobe.document.XMLFormService] (RequestProcessor-3) ALC-XTG-000-000: [2704] @@@: sfDetrimentalConditions is undefined at line: 14 of script: 1: //dbg.logMsg("START form1.sfDetrimentalAddendum.#variables[0].opr");2: UTIL.init?UTIL.init():"";3: //JIR...

Views

605

Likes

0

Replies

0
Re: One of my added replies here causes the browser to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I was able to fix the post from IE () which allowed me to stop the script, then I edited the post, removed the script sample, and re-entered it, and now it is OK. I was unable to do that from Chrome. Thanks for the help from Adobe Social Media account.Tarek

Views

786

Likes

0

Replies

0
Re: One of my added replies here causes the browser to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Also, I think for the very same reason, I cannot open my InBox for Adobe Forums. Please help!

Views

603

Likes

0

Replies

0
Check Javascript Version on client and server
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Sometimes, I use a javascript function and it works fine on the client. For example, object.defineProperty(), it works on the client, but it causes the entire script object to fail on the server, and it's a real pain to discover this situation.How to check what is the Javascript version used on the server? And how to know what is the version used on the client?Tarek

Views

572

Likes

0

Replies

0
E4X XML function hasOwnProperty() doesn't work as filter
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I am trying to filter XML (based on E4X syntax) to get list of items with certain attribute value. Some of the XML Elements don't have that specific attribute.See example below:var xmlDoc = $parent$.client_email[0] E-MAIL: COURRIEL: $parent$.lb_appraiser_vertical APPRAISER APPRAISER $parent$.appraiser_name[0] APPRAISER: ÉVALUATEUR: APPRAISER: ÉVALUATEUR: AIC Member: MEMBRE DE L’ICE: ;var list = xmlDoc.label;app.alert(list[2].caption_en); //Works finelist[2].caption_en.@qual; //Works fine =...

Views

552

Likes

0

Replies

0
One of my added replies here causes the browser to crash
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I added a reply here:Adding Ghost Text to LiveCycle Designer forms and it has sample Javascript. Every time I open the above post, the browser crashes. There was no contact us to report this, do I decided to send this message to the admin via another post...There is a solution for everything Tarek

Views

1.2K

Likes

0

Replies

3
Re: Adobe LiveCycle Designer ES 9.0 is not compatible for Smart Devices
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
If you want to use LiveCycle Platform in general to design forms that are cross platform, you have to switch to AEM Forms. Basically, moving forward, you will switch from legacy Adobe LiveCycle to new similar designer under AEM Forms. I am not exactly sure if the new designer is 100% compatible with the current Adobe LC Designer. However, I know that you can port your existing forms to the new designer which is web based, I think. The porting process will make it easier for you to migrate to new...

Views

629

Like

1

Replies

0
Changing layout dynamically during page load may not work as expected
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I have this fragment whos layout has to be modified during page load:The logo may have to be removed depending on the container parent form, and the section on the left and the right must be adjusted to increase the width to fill the available space. This feature is called responsive design which is not supported by LiveCycle forms.I developed this code to hide/show the logo depending on the setting required, and change the width of the other elements to fill the space:The "HideLogoFlag" is set ...

Views

501

Likes

0

Replies

0
Re: Adding Ghost Text to LiveCycle Designer forms
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Use the code sample below to implement Ghost Field (placeholder):I hope this will be helpful.//form1. # subform[0].TextField1::initialize - (JavaScript, client)myTools.initGhost(this);//form1. # subform[0].TextField1::enter - (JavaScript, client)myTools.enterGhost(this);//form1. # subform[0].TextField1::exit - (JavaScript, client)myTools.exitGhost(this);//form1. # variables[0].myTools - (JavaScript, client)//Ghost field processing (placeholder)function initGhost(theFld, ghostText) { ghostText = ...

Views

882

Like

1

Replies

0
Protect PDF against editing (Password Encrypt PDF Service)
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I've done some research and found out that I can protect flattened PDF against editing (by Acrobat for example). The encryption will be implemented using Adobe LiveCycle Workbench Service Password Encrypt PDF.I'd like to know if there is better or another way to lock PDF Editing for example using Rights Management, and what is the difference.Also, if you could point me to sample code/process where I can perform such process using Workbench Service Password Encrypt PDF or Rights Management.Curren...

Views

623

Likes

0

Replies

0
Protect PDF against editing (Password Encrypt PDF Service)
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I've done some research and found out that I can protect flattened PDF against editing (by Acrobat for example). The encryption will be implemented using Adobe LiveCycle Workbench Service Password Encrypt PDF.I'd like to know if there is better or another way to lock PDF Editing for example using Rights Management, and what is the difference.Also, if you could point me to sample code/process where I can perform such process using Workbench Service Password Encrypt PDF or Rights Management.Curren...

Views

481

Likes

0

Replies

0
How to mark certain areas/fields for redaction and apply redaction programmatically?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I know you can use Acrobat to mark areas for redaction, and apply redaction.I wanted to know if this process can be automated.For example, we know the areas/fields to be redacted, and we want to mark such areas using Adobe LiveCycle Designer. Then, when it is time, we want to apply redaction using server utilities. We want this process to be completely automated.Is that possible and how?Thank you,Tarek

Views

642

Likes

0

Replies

0
Re: Searchable drop down menu?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
BR001​ Thank you so much! We have migrated most of our forms from Adobe LiveCycle PDF to HTML5, and implemented autocomplete feature for address lookup.The other day I heard some business users asking for this feature (autocomplete) to be implemented on some legacy PDF forms. I think your sample will be of a great help.Thank you!Tarek

Views

2.2K

Likes

0

Replies

0
Name clash with script object "util". How we can resolve?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
In one of the forms, I wanted to use "util.scand()" function, however, I noticed that there is already script object name "util", which is effectively hiding the built-in script "util". The exiting "util" script (embedded) has been used extensively and very risky to rename it now.How I can resolve this naming conflict with minimum risk?Tarek

Views

518

Likes

0

Replies

1
Re: Legacy Dynamic PDF Attachments blocked by Enterprise email
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Looks like this is an issue with the virus engine. I found similar reports here:Office 365 is flagging legitimate PDF attachments as JS/Injector.A - Microsoft Community Tarek

Views

534

Likes

0

Replies

0
Re: Legacy Dynamic PDF Attachments blocked by Enterprise email
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I realized finally that the problem is not in a certain part of the form. I did a lot of testing, and now I have the conclusion that if I delete large and random parts from the form either script or objects (subforms), then the PDF form will be go through via the email attachment.From what I see, if the size and/or pattern of the form meet certain criteria then the malware engine will block the form.Tarek

Views

512

Likes

0

Replies

0