At runtime - populate Adobe from textfield in view
Hi, friends,
I have created a very simple WDA application.
WDA has 3 elements in the view:
- InputField FLD1
- button "Submit"
- PDF form of type ZCI with XML based Interface.
The PDF form has a text field TF1 bind to FLD1.
At runtime On click button "Submit" I want my application to read value from FLD1 and bring it into PDF form.
So I put a code into ONACTIONONSUBMIT method.
The code is not finished - you see ???? there.
Could you please help me with finishing the code?
method ONACTIONONSUBMIT .
DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
DATA lo_el_adobe_data TYPE REF TO if_wd_context_element.
DATA ls_adobe_data TYPE wd_this->element_adobe_data.
DATA lv_fld1 LIKE ls_adobe_data-fld1.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
* get element via lead selection
lo_el_adobe_data = lo_nd_adobe_data->get_element( ).
* get single attribute
lo_el_adobe_data->get_attribute(
EXPORTING
name = `FLD1`
IMPORTING
value = lv_fld1 ).
*=== from Wizard for Read Context for PDF_SOURCE.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_pdf_source LIKE ls_context-pdf_source.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* get single attribute
lo_el_context->get_attribute(
EXPORTING
name = `PDF_SOURCE`
IMPORTING
value = lv_pdf_source ).
endmethod.
Thanks a lot,
Tatyana
Hi Ninad,
In Addition to Francois. U can also Check few basic checks regarding ADS in your WAS.
1.Go to <b>http://<host>:<port>/sap/monitoring/SystemInfo</b> and see <i>All Components</i> and see whether u have 2 ADC components ADS_SAPOFF and ADS_SAP with same SP level of WAS.
if it is not there so it means you don't have ADS addon on your WAS.
2. If it is there then go to the url <b>http://<host>:<port>/ AdobeDocumentServices/Config</b> and run it with user: ADSUser and corresponding pwd.
it should show the version no.
and also ask your admin to check for credential file configuration.
Hope this will help you.
Regards
Shobhan
Similar Messages
-
How to remove links to adobe from the image viewer
On my site I need to display lots of pictures. I used the
image viewer flash element from the `insert`-`media` tabs.
Everything works great, but the first few pics in the
slideshow are clickable, and link to the adobe home page. How could
I remove the links and make the pics not clickable. I already went
into the flash element properties window and made the `image links`
and `image link targets` blank. I don`t know what else to try.
Please help!
thank you: TiborIt's only necessary to post once. No answer usually means
that nobody knows
the answer....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"serestibi" <[email protected]> wrote in
message
news:frm8qo$26v$[email protected]..
> On my site I need to display lots of pictures. I used
the image viewer
> flash
> element from the `insert`-`media` tabs.
> Everything works great, but the first few pics in the
slideshow are
> clickable,
> and link to the adobe home page. How could I remove the
links and make the
> pics
> not clickable. I already went into the flash element
properties window and
> made
> the `image links` and `image link targets` blank. I
don`t know what else
> to
> try. Please help!
> thank you: Tibor
>
> -
Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
Todd,
Let me try to explain you this time. I have a text field in a TiledViewBean.
When I display the page, the text field
html tag is created with the name="PageDetail.rDetail[0].tbFieldName" say
five times/rows with same name.
The html tags look like this.
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
When the form is submitted, I want to get the text field values using the
method getTbFieldName().getValues() which
returns an array object[]. This is in case where my TiledViewBean is not
bound and it is working fine.
Now in case when my TiledView is bound to a model, it creates the html tags
as follows.
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[1].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[2].tbFieldName" value=""
maxlength=9 size=13>
Now when I say getTbFieldName().getValues() it returns only the first
element values in the object[] and the rest of the
values are null.
May be we need to create a utility method do get these values from
requestContext.
raju.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Saturday, July 07, 2001 3:52 AM
Subject: Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
Raju.--
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing likeI'm afraid I don't understand your point--can you please clarify? Do you
mean "value" instead of "name"?
What are you trying to do? What behavior are you expecting but notseeing?
>
Without further clarification, I can say that the setValues() methodsNEVER
populates data on multiple rows of a (dataset) model, nor does it affect
multiple fields on the same row. Perhaps what you are seeing is theeffect
of default values. Model that derive from DefaulModel have the ability to
carry forward the values set on the first row to other rows in lieu ofdata
in those other rows. This behavior is for pure convenience and can be
turned off, and it is turned off for the SQL-based models.
Todd
[email protected]Hi,
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing like
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[0].tbFieldValue
in which case, the getValues() method works fine.
But in case where the tiled view is bound to a model, it populates
with different field names such as,
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[1].tbFieldValue
in this case, the getValues() doesn't work. Any soultion to this?
We are using Moko 1.1.1.
thanks in advance,
raju.
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
Does anyone know of is there a single method to get all values of a
display
field in a tiled view without having to iterate through all the
values ie
resetTileIndex() / nextTile() approach.
ie Something that returns an Object[] or Vector just like ND returned a
CspVector. I tried using the getValues() methods but that allways returns
a
single element array containing the first element.
(I think now, that method is used for multi selecteable ListBoxes)Actually, no. We can add this in the next patch, but for now, I'd recommend
creating a simple utility method to do the iteration on an arbitrary model
and build the list for you.
Todd -
How to populate data from table into datagrid in form
hi there. may i know how to populate data from a table into a datagrid? i have created a datagrid in a form using OLE's microsoft datagrid. i'm having problem to populate data from table into the grid. can i know how to do that? thanks
Not exactly. I want to enter input from form and the user can have all options to choose i.e. HIGH, MEDIUM or so on.
Suppose, you have option to select HIGH, MEDIUM or LOW and you can see all these options together. You select LOW and when you save, it is saves in the table as a value. So when you view the table again, it will show LOW as active and HIGH and MEDIUM are null. -
How do I create a hyperlink from a tablet view to a desktop view in another muse site.
How do I create a hyperlink from a tablet view to a desktop view in another muse site.
The page keeps redirecting to a table view in the 2nd site. There is no tablet view set up.Here's a similar thread that should clarify most of your doubts regarding linking pages between different layouts.
http://forums.adobe.com/message/5147694
Thanks,
Vinayak -
Problem creating a PDF from the "print view" of a web page
When creating a PDF from the "print view" of a web page, the features in the print dialog box overlap. When the PDF is created, the words are garbled. e.g. words apppear as jzhhhxxf or zxihcj.
Use a job settings that embeds the fonts. If you look at the PDF, the font properties probably do not look correct and don't include embedded fonts. Also, set the printer to Adobe PDF before you try to do a print, so that the web page can try to properly adjust to the printer.
Why not just try opening the web site directly in Acrobat? -
Populate combobox2 From database WHERE combobox1.text = something
I want to populate combobox2 from database WHERE combobox1.text = something. Here is the code I have and also I am using datable so I want to keep it that way
private void cbCompany_SelectedIndexChanged(object sender, EventArgs e)
this.cmpLocationTableAdapter.FillLocbyCmp(this.shahiemsDataSet.cmpLocation, cbCompany.SelectedText.ToString());
cbLocation.DataSource = shahiemsDataSet.cmpLocation;The result is a blank combobox2(cbLocation).
Hello,
Did you mean that the combobox2 bound to the datatable cbLocation, but it didn't contain any item, right?
If so, it seems that the method FillLocbyCmp didn't fill any data to that datatable, to troubleshoot this case, we need to check the following tips.
1. Whether the database for that dataAdapter contains any data, and whether you connected to the right database.
2. Whether that database could get any result filtering by that text value.
3. Whether that method could get that datatable filt succeccfully.
Since we could not get code about that FillLocbyCmp method, if possible, you could share them with us.
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How do i populate certificates from a spreadsheet
I am trying to print some certificates and would like to populate them from a spreadsheet. Unsure if Numbers or Pages or Keynote would be the correct application.
You've posted this in the iWork for iOS forum, is that what you really wanted?
The Mac version is here:
https://discussions.apple.com/community/iwork/pages?view=discussions
Peter
btw Helps if you say what version of Pages you are using. -
How do you publish AIR captive runtime for Windows from OSX in Flash Pro CS6?
Is this possible? If I move the app from a Mac to Windows it isn't looking like an app anymore. It's looking like a set of folders instead. Do I need to change publish options? changeing the extension to .exe didn't fix it. Help appreciated!
Thanks,
DaveHi Dave ,
The published AIR captive runtime in Flash from Windows and Mac will have the following structure -
Windows -
MyApp/
META-INF/
Adobe AIR/ // The captive runtime minus irrelevant files
mimetype
MyApp.swf // Assets
MyApp.exe // An entrypoint that loads the captive runtime
Mac -
MyApp.app/
Contents/
Frameworks/
Adobe AIR.framework/ // The captive runtime
Info.plist
MacOS/
MyApp // An entrypoint that loads the captive runtime
PkgInfo
Resources/
META-INF/
mimetype
MyApp.swf // Assets
The entry point that loads the Captive runtime is different in the above cases.
Hence we need to explicitly publish from the required platform.
You can even check this link : http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
To create a captive runtime bundle for Windows, you must package the application while running under the Windows operating system.
Thanks and regards,
Sudeshna Sarkar
Adobe Flash Professional Team. -
Populate ComboBox from database - NOT using Flex Data Services
Hi there,
We are using CF with Flex but are not using the Flex Data
Service. I'm very much a newb and I'm having trouble finding any
information on how to populate controles from a database without
using Flex Data Service. Any help would be greatly appreciated.
First I have a page... JobSearch.mxml that contains a combo
box that I want to populate with the job_id and job_title from a
MSSQL database.
In Flex in the RDS DataView I used the "Create CFC" Wizard
which generated "job.cfc" and "jobGateway.cfc". It also generated
"job.as".
The CF Function that selects the data appears to be defaulted
and called "load" and the .as function is called simply "job".
So, that all looks great. But I can't find any information on
what I need to have on my JobSearch.mxml to actually get this data
into the comboBox.
I did:
<mx:Script>
<![CDATA[
[Bindable]
public var jobData:job = null;
]]>
</mx:Script>
And then:
<mx:ComboBox
text="{jobData.job_title}"></mx:ComboBox>
But I'm being told "Type was not found or was not a
complie-time constant: job"
I guess I'm missing something, or doing something way
wrong... I just don't know enough of Flex at this point to know
what it is.
Thanks!
AprilUsing php or asp is not an option, as we are a Cold Fusion
House.
I was looking at an article on Ben Forta's blog (
http://www.forta.com/blog/index.cfm?mode=e&entry=1786)
and following his example I did this... only it doesn't work:
I'm very very new to Flash and we are using ColdFusion but
are not using Flex Data Services. I've been trying to figure out
how to populate a combobox from a database and I'm just not having
any luck.
My project is called "PreTraffic". I have my main file as
"JobSearch.mxml" and a folder under the root named "cfc" with a
file called "job.cfc".
job.cfc contains the following code:
<cfcomponent>
<!--- Get jobs --->
<cffunction name="GetJob" access="remote"
returntype="query" output="false">
<cfset var job="">
<cfset var results="">
<cfquery datasource="discsdev" name="job">
SELECT job_id, job_title
FROM job
WHERE status = 'O'
ORDER BY job_title
</cfquery>
<cfquery dbtype="query" name="results">
SELECT job_title AS label, job_id AS data
FROM job
ORDER BY label
</cfquery>
<cfreturn results>
</cffunction>
</cfcomponent>
And JobSearch.mxml has the following code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*"
layout="absolute"
backgroundGradientColors="[#ffffff, #d0d0d0]"
creationComplete="InitApp()">
<mx:Style source="style.css" />
<mx:Script>
<![CDATA[
public function InitApp():void {
jobSvc.GetJob();
]]>
</mx:Script>
<!-- ColdFusion CFC (via AMF) -->
<mx:RemoteObject id="jobSvc" destination="PreTraffic"
showBusyCursor="true" />
<mx:VBox label="Job History" width="100%" height="100%"
x="10" y="92">
<mx:Label text="Search jobs by"/>
<mx:Form label="Task" width="100%">
<mx:FormItem label="Job Name:">
<mx:ComboBox id="jobNameCB"
dataProvider="{jobSvc.GetJob.results}"></mx:ComboBox>
</mx:FormItem>
</mx:Form>
<mx:HBox>
<mx:Button label="Search"/>
<mx:Button label="Clear"/>
</mx:HBox>
</mx:VBox>
</mx:Application>
My Compiler thingy points to:
-services
"/Volumes/flexwwwroot/WEB-INF/flex/job-services-config.xml" -locale
en_US
and job-services-config.xml contains the following code:
<destination id="PreTraffic">
<channels>
<channel ref="my-cfamf"/>
</channels>
<properties>
<source>flex.pretraffic.cfc.job</source>
<lowercase-keys>true</lowercase-keys>
</properties>
</destination>
Well, when I run the app... the combobox is not populated...
Can anyone help with what I've done wrong?
Thanks!
April -
Problem logging into adobe from Photoshop...
When I am trying to log into my adobe account from Photoshop, I am getting an Error 400? Is anyone else having this problem?
Thank you very much for the reply. I don't use photoshop usually and was just wanting to play with some things on it so its not a big deal to me was just curious. Anyway, thanks for the info. Have a good night
Thanks,Amber
Date: Sat, 2 Nov 2013 14:15:44 -0700
From: [email protected]
To: [email protected]
Subject: Problem logging into adobe from Photoshop...
Re: Problem logging into adobe from Photoshop...
created by Barbara B. in Photoshop Elements - View the full discussion
If you are talking about photoshop.com, anyone who tries will get that error because there is no more photoshop.com. You should have received a bunch of emails about any photos there getting moved to Revel, but you can't use Revel from within the versions of PSE that had photoshop.com:
http://barbarabrundage.com/2013/09/16/pse-8-9-10-cant-sign-in-error-40 4/
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5809632#5809632
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5809632#5809632
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5809632#5809632. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Photoshop Elements at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Retrieve data from a maintenance view
Hello,
I created a specefic table.
i want to add a check when deleting lines from a maintenance view.
How to retrieve selected data ?
thanks,
Meriem.Hello Sudeesh,
I think i must use extract table and Field Symbol <XMARK>.
Can any body give an exemple.
thanks,
Meriem. -
How to read data in a program from a MAINTENANCE View
Hi Experts,
Requirement:
1. I have maintained a maintenance view on three Database tables.
2.Data can be entered in the view as it is a Maintenace view as i have created maintenance generator for that and it is a requirement.
3. In one of my programs i need to read this data, into an internal table, that is maintained through this view.
Problem: When i am firing a SELECT query on this view, it goves me a syntax error that i cannot get data by select query on a Maintenance view.
Solution required for: Is there any way i can get the data from this Maintenance view.
Thanks in advance for your exteemed replies.
Regards,
Raghavendra Goutham P.Hi,
Only projection view or database view can be used
in select query.
Find the tables used in view and
Select data into report program by
joining tables .
Regards
Amole -
Getting the Values from a Tiled View
Hi,
I have a TiledView and I have checkbox in the tiled view. I am trying
to get the values of the checked boxes.
I have coded like this.
Object[] links = getRSystemLinks().getCbSystemUrl().getValues();
if I see the links.length i get only one. In html If I see the code
it appends the TileIndex in brackets. If I replace the TileIndex with
0 in all the fields in endCbSystemUrl method I get the correct values.
In the TiledView beginDisplay() method my code is like this.
if (getPrimaryModel() == null) throw new ModelControlException
("Primary model is null");
super.beginDisplay();
resetTileIndex();
pgCustomizeLinksViewBean parentBean = (pgCustomizeLinksViewBean)
getParent();
((DatasetModel) getDefaultModel()).setSize
(parentBean.SystemChoicesValue.size());
Any Suggestions on this.
Thanks
NamburiNamburi--
Remember, the getValues() method does not return the values from a column in
a TiledView. It is strictly for use by fields that can have multiple
values, like multi-select list boxes.
DO NOT remove the indexing feature from the field names, especially in the
case of checkboxes, because checkboxes aren't submitted back to the server
unless they are checked. By overriding the automatic checkbox tracking
feature JATO provides, you won't be able to tell which checkboxes were
actually checked by row--you'll simply get back a list the same size as the
number of checkboxes that were checked, without any placeholders for the
ones that weren't checked.
Instead, on submit, you simply need to move through the tiledView and check
the value of checkbox on each row:
tiledView.beforeFirst();
while (tiledView.next())
if (getDisplayFieldBooleanValue("myCheckBox"))
You can use the same construct to build up an array or list:
List checkedList=new LinkedList();
tiledView.beforeFirst();
while (tiledView.next())
if (getDisplayFieldBooleanValue("myCheckBox"))
checkedList.add(new Boolean(true))
else
checkedList.add(new Boolean(false))
Todd
Todd Fast
Senior Engineer
Sun Microsystems, Inc.
todd.fast@s...
----- Original Message -----
From: <vnamboori@y...>
Sent: Wednesday, October 17, 2001 3:49 PM
Subject: [iPlanet-JATO] Getting the Values from a Tiled View
Hi,
I have a TiledView and I have checkbox in the tiled view. I am trying
to get the values of the checked boxes.
I have coded like this.
Object[] links = getRSystemLinks().getCbSystemUrl().getValues();
if I see the links.length i get only one. In html If I see the code
it appends the TileIndex in brackets. If I replace the TileIndex with
0 in all the fields in endCbSystemUrl method I get the correct values.
In the TiledView beginDisplay() method my code is like this.
if (getPrimaryModel() == null) throw new ModelControlException
("Primary model is null");
super.beginDisplay();
resetTileIndex();
pgCustomizeLinksViewBean parentBean = (pgCustomizeLinksViewBean)
getParent();
((DatasetModel) getDefaultModel()).setSize
(parentBean.SystemChoicesValue.size());
Any Suggestions on this.
Thanks
Namburi
[email protected] -
Use evdre to query data from a SQL View
Hi all
I believe that it is possible to use evdre to query data from a SQL View. If this is possible then how does one go about setting it up in the evdre options (assuming that the view has already been created)?
Regards,
ByronByron, perhaps this is no longer supported, it might be worth opening up a case at service.sap.com on this. However, I did find the following on Page 11 of the "Usages and Considerations of EVDRE" pdf file. This doc is imbedded in the helpfile for BPC 7 SP5 (which was released in August of 2009, well after note 1315011 was last updated.
It looks like you are limited to one custom view per application, since you have to name the view in a parameter at the APPLICATION level. Go into BPC Administration, login to the application related to the custom view, choose "Set Application Parameters" and enter the name of the view to the Application Parameter called "EVDRE_QUERYVIEWNAME" If it is not listed, go ahead and create it at the bottom of the Application parameter screen.
Also: I interpreted the following info from Page 10 of the same doc:
In your EVDRE, set the following options:
QueryEngine: MANUAL
QueryType: enter either NEXJ OR TUPLE see below:
NEXJ - Use two-dimensional queries using the nonemptycrossjoin function
TUPLE - Use two-dimensional queries using tuples"
And I'm assuming you'd enter a Y for the following two parameters:
QueryViewName
"..to enforce the query engine to use a used-defined SQL view of the fact tables, when trying to read the values using SQL queries. This option is typically used in conjunction with the SQLOnly option (see below). "
Option SQLOnly
"..to enforce the query engine to only execute SQL queries, when reading data. This can be achieved using this option."
Maybe you are looking for
-
I have an iMac and an HP laptop, can I use my one license for both?
So I asked the other day how many computers one purchase, of the education version, would cover and Adobe told me two. Now I want to know if they will cross platforms. I am looking to ask for a new desktop for Christmas and I want a iMac, but I am wo
-
ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier
Hi, I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier. Following is the log from the adcfgclone.pl as it fails; Creating the control file for CLONE_test dat
-
PDF files open in MS word why?
When I download a PDF file it opens in MS office word and is unreadable, how do I correct this? HP computer using PC and Wi9ndows 7
-
THANKS for help with wrt150n router. looks like things are now working great after using your tips.
-
When I print A spreadsheet 2 copies print
I recently tried to make a spreadsheet in Numbers and when I print it it automatically prints 2 copies. I even see 2 copies when I use the preview function