on 10-08-2009 2:44 PM
Hi,
I want to add different company logos to an adobe print form depending on company code. My idea was to add one image field per company logo and then at runtime hide the fields not containing the correct logo depending on company code.
I use form calc scripting to check if field company code contain 4400, then I hide the image fields containing logos not relevant for company code 4400.
Code is like this:
if ( xfa.form.data.MainPage.Cost_allocation.Comp_code.rawValue ne '4400' )
then $.ImageField.presence = "hidden"
endif
I use event Initialize.
I cannot get this to work. Anyone who knows if I am on track and if it should be possible? I saw in documentation that if I want to hide/display fields adobe form needs to be saved as an Acrobat Dynamic PDF Form. Is this possible for print forms? I create my form in tx SFP.
Best Regards,
Christine Lexander
As you correctly identified Interactive features such as hiding elements based on a condition are not supported for Print Forms.
You will need to make the form dynamic and most likely the change you are trying to make is licensable, so better check with your SAP Account Manager for licensing.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there are several ways you can do it....
in your context, use a graphic node
you can add a dynamic url (by reference) if your graphics are placed on a server
or upload your graphic in your printing programm an then pass it via context to the form(Graphic content)
to add some graphics to the form and just display the correct one makes your form bigger....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.