Export XML to local path; Completeness check
A couple of questions as we're wrapping up development on our form-
First, I'm attempting to build a button that will save the exported XML to a local path, ie, c:\\windows\desktop
I found this: xfa.data.saveXML(); which I put in the click event, but how do I tell it to save to a path? (and while we're at it, specify a file name)
Alternately I tried using the built in buttons -email, HTTP, but I've been unable to find documentation on how to construct the code. I know just about anything can be added to the XML source, but I need a pointer on what the best way to handle this is, and how to construct the instructions to save the path. This is for our administrators to extract the XML and import it into their database.
Second question, What is the best way to allow a user to do a completeness check? I like how the email submit button by default checks all the fields set to "user entered required" and would like to configure a button that similarly performs a completeness check and then either alerts the user that there are fields left, or confirms that the form is complete, perhaps with instructions on what to do next. What is the best way to handle this? The plan for submittal is the user will save the pdf locally and then upload it manually to a server that requires a login, then the administrators will export the XML file and import it into a database.
Thanks for your insight..
Thanks so much for your help so far, Paul
Everything works great, except when trying to use the Export button from Reader. (It works as expected in Pro)
The file has been reader extended, so save works, but our developers need the ability to click that Export button from Reader and get an XML file. Any ideas if this is possible or how the code can be tweaked so it will work for Reader?
Thanks!
Similar Messages
-
I have a create a porgram to download the SAP table's content from SAP to Local path,but i don't know how to check if the local path is exist before download, if the path path does not exist, how can i create the path. and because according to the business requirement, i can not use the SAP Standard Function such as "WS_UPLOAD" to check the path if exists. Who can help me? Thank you very much!!!!!
Hi Yewei,
You are thanking a poster for his answer.
Please next time also give him points.
See: /people/mark.finnern/blog/2004/08/10/spread-the-love
This time I did it for you.
Remember: When you ask a question you also assume the responsibility to assign points.
Please check your other questions and if the answers were good.
Spread the love and give some points.
Thanks in advance, Mark. -
Data Pump Export error - network mounted path
Hi,
Please have a look at the data pump error i am getting while doing export. I am running on version 11g . Please help with your feedback..
I am getting error due to Network mounted path for directory OverLoad it works fine with local path. i have given full permissions on network path and utl_file able to create files but datapump fail with below error messages.
Oracle 11g
Solaris 10
Getting below error :
ERROR at line 1:
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3444
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3693
ORA-06512: at line 64
DECLARE
p_part_name VARCHAR2(30);
p_msg VARCHAR2(512);
v_ret_period NUMBER;
v_arch_location VARCHAR2(512);
v_arch_directory VARCHAR2(20);
v_rec_count NUMBER;
v_partition_dumpfile VARCHAR2(35);
v_partition_dumplog VARCHAR2(35);
v_part_date VARCHAR2(30);
p_partition_name VARCHAR2(30);
v_partition_arch_location VARCHAR2(512);
h1 NUMBER; -- Data Pump job handle
job_state VARCHAR2(30); -- To keep track of job state
le ku$_LogEntry; -- For WIP and error messages
js ku$_JobStatus; -- The job status from get_status
jd ku$_JobDesc; -- The job description from get_status
sts ku$_Status; -- The status object returned by get_status
ind NUMBER; -- Loop index
percent_done NUMBER; -- Percentage of job complete
--check dump file exist on directory
l_file utl_file.file_type;
l_file_name varchar2(20);
l_exists boolean;
l_length number;
l_blksize number;
BEGIN
p_part_name:='P2010110800';
p_partition_name := upper(p_part_name);
v_partition_dumpfile := chr(39)||p_partition_name||chr(39);
v_partition_dumplog := p_partition_name || '.LOG';
SELECT COUNT(*) INTO v_rec_count FROM HDB.PARTITION_BACKUP_MASTER WHERE PARTITION_ARCHIVAL_STATUS='Y';
IF v_rec_count != 0 THEN
SELECT
PARTITION_ARCHIVAL_PERIOD
,PARTITION_ARCHIVAL_LOCATION
,PARTITION_ARCHIVAL_DIRECTORY
INTO v_ret_period , v_arch_location , v_arch_directory
FROM HDB.PARTITION_BACKUP_MASTER WHERE PARTITION_ARCHIVAL_STATUS='Y';
END IF;
utl_file.fgetattr('ORALOAD', l_file_name, l_exists, l_length, l_blksize);
IF (l_exists) THEN
utl_file.FRENAME('ORALOAD', l_file_name, 'ORALOAD', p_partition_name ||'_'|| to_char(systimestamp,'YYYYMMDDHH24MISS') ||'.DMP', TRUE);
END IF;
v_part_date := replace(p_partition_name,'P');
DBMS_OUTPUT.PUT_LINE('inside');
h1 := dbms_datapump.open (operation => 'EXPORT',
job_mode => 'TABLE'
dbms_datapump.add_file (handle => h1,
filename => p_partition_name ||'.DMP',
directory => v_arch_directory,
filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
dbms_datapump.add_file (handle => h1,
filename => p_partition_name||'.LOG',
directory => v_arch_directory,
filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
dbms_datapump.metadata_filter (handle => h1,
name => 'SCHEMA_EXPR',
value => 'IN (''HDB'')');
dbms_datapump.metadata_filter (handle => h1,
name => 'NAME_EXPR',
value => 'IN (''SUBSCRIBER_EVENT'')');
dbms_datapump.data_filter (handle => h1,
name => 'PARTITION_LIST',
value => v_partition_dumpfile,
table_name => 'SUBSCRIBER_EVENT',
schema_name => 'HDB');
dbms_datapump.set_parameter(handle => h1, name => 'COMPRESSION', value => 'ALL');
dbms_datapump.start_job (handle => h1);
dbms_datapump.detach (handle => h1);
END;
/Hi ,
I tried to generate dump with expdp instead of API, got more specific error logs.
but on same path log file got create.
expdp hdb/hdb DUMPFILE=P2010110800.dmp DIRECTORY=ORALOAD TABLES=(SUBSCRIBER_EVENT:P2010110800) logfile=P2010110800.log
Export: Release 11.2.0.1.0 - Production on Wed Nov 10 01:26:13 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/nfs_path/lims/backup/hdb/datapump/P2010110800.dmp"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3Edited by: Sachin B on Nov 9, 2010 10:33 PM -
NET8의 LOCAL NAMING METHODS 이용관련 CHECK POINTS & TROUBLESHOOTING
제품 : SQL*NET
작성날짜 : 2000-12-15
===================================================================
Net8의 Local Naming Methods 이용관련 Check Points & Troubleshooting
====================================================================
Net8 관련 내용중 Local Naming Methods(sqlnet.ora와 tnsnames.ora
를 이용해서 DB에 Connect하는 방법)에 관한 일반적인 Check Points 및
Troubleshooing 사항을 정리해보도록 하겠다.
[Client Connection : Local Naming Methods]
1. Local Naming method resolves service names by using the local configuration files tnsnames.ora and sqlnet.ora.
2. One of the benefits of the Local Naming method is that it provides a simple method for resolving service name addresses. It is easy to configure local naming by using a GUI called the Net8 Assistant. When you configure a client machine for local naming by using the Net8 Assistant, a tnsnames.ora file is generated. To configure all the other client machines on the network that need to use the same database services, you can simply copy this file to the client machines.
3. Another benefit of using the local-naming method is that it resolves service name across networks running different protocols.
[Local Naming : Configuration]
1. The local-naming method resolves service names by using the information configured and stored on each individual client. Local naming is most appropriate for simple distributed networks with a small number of services that change infrequently.
2. Local naming requires the configuration of two local files, tnsnames.ora and sqlnet.ora. The tnsnames.ora file contains the address needed to direct a connection request to the specified listener on the specified node by using the specified database. The sqlnet.ora file stores information about the selected naming method.
3. Local naming is easy to configure by using the Net8 Assistant. The Net8 Assistant is implemented in Java and is packed with the Java Runtime Environment. You can run the Net8 Assistant on any platform on which Net8 is installed.
4. When you configure an Oracle8 server to use the local-naming method for service names resolution, the client-side configuration files tnsnames.ora and sqlnet.ora are automatically generated. After the configuration is complete, you copy these two files from the server to the client machines.
[Client Files : Parameters]
1. The tnsnames.ora and sqlnet.ora files are generated at the default location ORACLE_HOME\net80\admin.
2. The first parameter in the tnsnames.ora file specifies the service name and the domain name for the client.
3. The tnsnames.ora file contains a parameter called DESCRIPTION. This parameter contains information about the connect descriptor for the client.
4. The ADDRESS parameter in the tnsnames.ora file specifies the network address of the host to which the client is connected. If multiple addresses are specified, use the keyword ADDRESS_LIST before the ADDRESS parameter.
5. Another parameter in the tnsnames.ora file is the CONNECT_DATA parameter. This parameter specifies the SID of the database to which the client is connected.
6. The DEFAULT_DOMAIN parameter of the sqlnet.ora file specifies the domain from which the client most often requests names. When this parameter is set, the domain name is automatically appended to the service name in a connect string.
7. The DIRECTORY_PATH parameter is another key parameter of the sqlnet.ora file. This parameter specifies the names resolution method to be used for the client-server connection.
8. The sqlnet.ora file also contains a parameter called DEFAULT_ZONE.
This parameter specifies the region to which the client belongs.
[Troubleshooting the Client Side]
These are common client-side problems and the error messages associated with
each error code.
ORA-12154: "TNS: could not resolve service name"
ORA-12198: "TNS: could not find path to destination"
ORA-12203: "TNS: unable to connect to destination"
ORA-12533: "TNS: illegal ADDRESS parameters"
1. The ORA-12154 error occurs when Net8 cannot locate the connect descriptor specified in the tnsnames.ora configuration file. To solve this problem, first verify that a tnsnames.ora file exists and is accessible. Next, verify that multiple copies of the tnsnames.ora file are not present. After checking the existence of the tnsnames.ora file, verify that the service name specified in the connect string is mapped to a connect descriptor in the tnsnames.ora file. Verify also that the file does not contain any syntaz errors. The ORA-12154 error also occur if there is more than one copy of the sqlnet.ora file. Verify that duplicate copies of the sqlnet.ora file are not present.
2. The ORA-12198 and ORA-12203 errors occur when the client is unable to find the required database. To solve this problem, first verify that you have correctly entered the service name that you want to use. Next verify that the service name parameters in the ADDRESS section of the connect descriptor in the tnsnames.ora file are correctly defined. Then, verify that the tnsnames.ora file is stored in the correct directory. The ORA-12198 and ORA-12203 errors can also occur if the listener on the remote node is not running. Verify that the listener on the remote node has started and is running. If the listener is not running, start the listener by using the Listener Control(LSNRCTL) utility.
3. The ORA-12533 error occurs if the protocol-specific parameters in the ADDRESS section of the designated connect descriptor in the tnsnames.ora file are incorrect. To solve this problem, use the correct protocol-specific parameters in the ADDRESS section of the connect descriptor.
4. The ORA-12545 error occurs when the listener on the remote node cannot be contacted. This may happen if the values of the ADDRESS parameter in the tnsnames.ora file and the listener.ora file are incorrect. In this case replace the incorrect values with the correct values in both the files. The ORA-12545 error can also occur if the listener on the remote node is not
started. To verify whether or not the listener is started, determine its status with the STATUS command of the LSNRCTL utility. If necessary, start the listener on the remote node with the START command.제품 : SQL*NET
작성날짜 : 2000-12-15
===================================================================
Net8의 Local Naming Methods 이용관련 Check Points & Troubleshooting
====================================================================
Net8 관련 내용중 Local Naming Methods(sqlnet.ora와 tnsnames.ora
를 이용해서 DB에 Connect하는 방법)에 관한 일반적인 Check Points 및
Troubleshooing 사항을 정리해보도록 하겠다.
[Client Connection : Local Naming Methods]
1. Local Naming method resolves service names by using the local configuration files tnsnames.ora and sqlnet.ora.
2. One of the benefits of the Local Naming method is that it provides a simple method for resolving service name addresses. It is easy to configure local naming by using a GUI called the Net8 Assistant. When you configure a client machine for local naming by using the Net8 Assistant, a tnsnames.ora file is generated. To configure all the other client machines on the network that need to use the same database services, you can simply copy this file to the client machines.
3. Another benefit of using the local-naming method is that it resolves service name across networks running different protocols.
[Local Naming : Configuration]
1. The local-naming method resolves service names by using the information configured and stored on each individual client. Local naming is most appropriate for simple distributed networks with a small number of services that change infrequently.
2. Local naming requires the configuration of two local files, tnsnames.ora and sqlnet.ora. The tnsnames.ora file contains the address needed to direct a connection request to the specified listener on the specified node by using the specified database. The sqlnet.ora file stores information about the selected naming method.
3. Local naming is easy to configure by using the Net8 Assistant. The Net8 Assistant is implemented in Java and is packed with the Java Runtime Environment. You can run the Net8 Assistant on any platform on which Net8 is installed.
4. When you configure an Oracle8 server to use the local-naming method for service names resolution, the client-side configuration files tnsnames.ora and sqlnet.ora are automatically generated. After the configuration is complete, you copy these two files from the server to the client machines.
[Client Files : Parameters]
1. The tnsnames.ora and sqlnet.ora files are generated at the default location ORACLE_HOME\net80\admin.
2. The first parameter in the tnsnames.ora file specifies the service name and the domain name for the client.
3. The tnsnames.ora file contains a parameter called DESCRIPTION. This parameter contains information about the connect descriptor for the client.
4. The ADDRESS parameter in the tnsnames.ora file specifies the network address of the host to which the client is connected. If multiple addresses are specified, use the keyword ADDRESS_LIST before the ADDRESS parameter.
5. Another parameter in the tnsnames.ora file is the CONNECT_DATA parameter. This parameter specifies the SID of the database to which the client is connected.
6. The DEFAULT_DOMAIN parameter of the sqlnet.ora file specifies the domain from which the client most often requests names. When this parameter is set, the domain name is automatically appended to the service name in a connect string.
7. The DIRECTORY_PATH parameter is another key parameter of the sqlnet.ora file. This parameter specifies the names resolution method to be used for the client-server connection.
8. The sqlnet.ora file also contains a parameter called DEFAULT_ZONE.
This parameter specifies the region to which the client belongs.
[Troubleshooting the Client Side]
These are common client-side problems and the error messages associated with
each error code.
ORA-12154: "TNS: could not resolve service name"
ORA-12198: "TNS: could not find path to destination"
ORA-12203: "TNS: unable to connect to destination"
ORA-12533: "TNS: illegal ADDRESS parameters"
1. The ORA-12154 error occurs when Net8 cannot locate the connect descriptor specified in the tnsnames.ora configuration file. To solve this problem, first verify that a tnsnames.ora file exists and is accessible. Next, verify that multiple copies of the tnsnames.ora file are not present. After checking the existence of the tnsnames.ora file, verify that the service name specified in the connect string is mapped to a connect descriptor in the tnsnames.ora file. Verify also that the file does not contain any syntaz errors. The ORA-12154 error also occur if there is more than one copy of the sqlnet.ora file. Verify that duplicate copies of the sqlnet.ora file are not present.
2. The ORA-12198 and ORA-12203 errors occur when the client is unable to find the required database. To solve this problem, first verify that you have correctly entered the service name that you want to use. Next verify that the service name parameters in the ADDRESS section of the connect descriptor in the tnsnames.ora file are correctly defined. Then, verify that the tnsnames.ora file is stored in the correct directory. The ORA-12198 and ORA-12203 errors can also occur if the listener on the remote node is not running. Verify that the listener on the remote node has started and is running. If the listener is not running, start the listener by using the Listener Control(LSNRCTL) utility.
3. The ORA-12533 error occurs if the protocol-specific parameters in the ADDRESS section of the designated connect descriptor in the tnsnames.ora file are incorrect. To solve this problem, use the correct protocol-specific parameters in the ADDRESS section of the connect descriptor.
4. The ORA-12545 error occurs when the listener on the remote node cannot be contacted. This may happen if the values of the ADDRESS parameter in the tnsnames.ora file and the listener.ora file are incorrect. In this case replace the incorrect values with the correct values in both the files. The ORA-12545 error can also occur if the listener on the remote node is not
started. To verify whether or not the listener is started, determine its status with the STATUS command of the LSNRCTL utility. If necessary, start the listener on the remote node with the START command. -
Exporting XML from a container
Getting XML documents into an XmlContainer seems easy enough, but how do I get them back out again into XML? I don't see anything in API that will export the documents once they're placed in the containers.
The reason I'd like to do this is to use BDB XML with a source-control system. Basically, each user would check out a bunch of XML files from source control and create a local container. As changes to the XML files get checked in, they would update and re-add the changed XML files to their local container. When they make changes to their local xml data, I'd like to programmatically determine which documents changed (that part I can do myself) and then export those "edited" documents from the container back into XML format. Then the users can check in their changed documents.
This seems like it would work except that there's no way to export XML documents once they're placed in the XmlContainer. I suppose I could write my own exporter without great difficulty, but it seems like such a basic thing that I feel like I must be missing something somewhere.
Is there really no built-in export-to-xml capability?Hi Devnull,
Getting XML documents into an XmlContainer seems easy
enough, but how do I get them back out again into
XML? I don't see anything in API that will export
the documents once they're placed in the containers.If you want to export all the documents held by a container you can simply use the dbxml shell:
dbxml>getDocuments
dbxml>print >container_name.xml
This seems like it would work except that there's no
way to export XML documents once they're placed in
the XmlContainer. I suppose I could write my own
exporter without great difficulty, but it seems like
such a basic thing that I feel like I must be missing
something somewhere.Not quite sure if you want to export each document from the container in its own individual xml file or all the documents in a single xml file (if this is the case use the suggested shell commands, or implement it programmatically).
A couple of methods that you could use to implement the exporting functionality that you desire are:
o XmlContainer::getAllDocuments http://www.oracle.com/technology/documentation/berkeley-db/xml/api_cxx/XmlContainer_getAllDocuments.html
-> using this method you could retrieve all the documents inside an xml container, as an xml result set
o XmlResults::next
http://www.oracle.com/technology/documentation/berkeley-db/xml/api_cxx/XmlResults_next.html
-> use this method to iterate through the result set and get each document
o XmlDocument::getContent
http://www.oracle.com/technology/documentation/berkeley-db/xml/api_cxx/XmlDocument_getContent.html
-> use this method to put the content of an xml document from the result set in a string; you could write it into an individual xml file or append it to a single xml file
Regards,
Andrei Costache
Berkeley DB
Oracle Support Services -
Display Image from Local path "c:\image.gif"
Hi Experts,
Is there anyway to display an image from local path i.e "c:\img.jpg".
I need to display an image from the path in Dialog(Screen) programming.
I need to do it using program not any other way...
Can anyone suggest me a method please.
Thanks
Regards
NaveenHi Naveen,
You'll have to create a custom control for this and perform coding like this:
data piccon type ref to cl_gui_custom_container.
data my_piccon type ref to cl_gui_container.
data my_pic type ref to cl_gui_picture.
data my_container type ref to cl_gui_container.
* invoking the static attribute of the class.
my_container = cl_gui_container=>default_screen.
create object piccon
exporting
parent = my_piccon
container_name = 'IMG_CON'
* STYLE =
* LIFETIME = lifetime_default
repid = sy-repid
dynnr = sy-dynnr
* NO_AUTODEF_PROGID_DYNNR =
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
others = 6
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
create object my_pic
exporting
* LIFETIME =
* SHELLSTYLE =
parent = piccon
* NAME =
exceptions
error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
* Can be used to load the picture from the presentation server.
call method my_pic->load_picture_from_url
exporting
url = 'file://D:mydataPicturesMisc_pics 1fw1.jpg'
* IMPORTING
* RESULT =
exceptions
error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif. -
"Home folder" -- "Local path" in GPO
Hello,
is there any chance to configure the "Local path" (in "Home Folder" under the tab "Profile") with an empty value of an Active Directory user object.
Until now, I haven't found anythink to configure it that way via GPO:
Thanks a lot.
Regards AlexHi,
It seems this policy settings is available from Server 2012 alone :(. Check the below URL for more details.
http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via-group-policy-in-windows-8/
Regards,
Jack
www.jijitechnologies.com -
Hello All,
When i am trying to export xml schema of repository in console it is giving Unhandeld exception.
Can any one have any idea about it?
Thanks
AnkitHi Ankit,
Exception in Exporting XMl schema can occur due to the following reasons
1) If there are any Fatal error that cannot be repaired by MDM.
Check to see if there are any Fatal errors which cannot be repaired and see the log.If there is some field or lookup table error which you cannot fix then try deleting and recreating it and then recheck the rep.
2)The second possibilities could be the format is not saved as XML while exporting.Check it.
Hope it helps
Thanks & Regards
Simona
Edited by: Simona Pinto on Feb 27, 2008 10:50 PM -
Hi,
i am facing the problem SVSVOL folder replication, i also checked dcdiag and result is DFSRevent fail .
in event log i found the event Error:
The DFS Replication service stopped replication on the folder with the following local path: C:\Windows\SYSVOL\domain. This server has been disconnected from other partners for 173 days, which is longer than the time allowed by the MaxOfflineTimeInDays parameter
(61). DFS Replication considers the data in this folder to be stale, and this server will not replicate the folder until this error is corrected.
To resume replication of this folder, use the DFS Management snap-in to remove this server from the replication group, and then add it back to the group. This causes the server to perform an initial synchronization task, which replaces the stale data with fresh
data from other members of the replication group.
Additional Information:
Error: 9061 (The replicated folder has been offline for too long.)
Replicated Folder Name: SYSVOL Share
Replicated Folder ID: 427F62C0-0316-4DEA-B7FA-06A7D6C06A4F
Replication Group Name: Domain System Volume
Replication Group ID: CBED9B54-58D5-4081-ABD0-0C9D4EBA6027
Member ID: 67C302ED-F82A-4FC1-9A2C-62DBCC6BCA2A
please suggest me the solution..> disconnected from other partners for 173 days, which is longer than the
> please suggest me the solution..
Increase the MaxOfflineTimeInDays. Try google or bing :)
Martin
Mal ein
GUTES Buch über GPOs lesen?
NO THEY ARE NOT EVIL, if you know what you are doing:
Good or bad GPOs?
And if IT bothers me - coke bottle design refreshment :)) -
Template assigns local paths to links
Hey everyone: I have several templates using the same CSS
driven links, created with a UL; the LIs have individual IDs and
individual background graphics as markers; with <some> of the
templates, not all of them (but all using the same code -- snippets
for the semantic markup and the CSS) will assign 'local' paths to
the links for the LI's bg markers........then of course, they won't
work online, and I can't alter the code without dismissing the
template relationship..........argghh! Does this sound familiar to
anyone........?
Here's a link: it's the twitter/facebook/RSS link in the
sidebar that's the villain; it should have icons of the three as
markers...if you check the CSS in the doc, you'll see the local
paths.....
http://www.ruthinstitute.org/pages/downloads.htmlSend me offlist a concise explanation along with steps to
reproduce it, and
sample files, please.
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
==================
"GPaul" <[email protected]> wrote in message
news:[email protected]...
> Murray
>
> I'm not sure what your thinking of, but you and I had an
extended
> conversation about this very same issue, to the point
that you were going
> to ask the development team about it (Template
background image help,
> 1/2/2009).It is an issue, and has been an issue, as
evidenced by the same
> issue being posted here on a daily basis.
>
> For unexplained reasons, sometimes when you insert a
background image by
> using the Properties Panel in a template, the path at
times becomes
> absolute (I dont know if it fails to convert or changes
back), but it has
> been an issue with DW8 and CS3, on 3 different machines
(not to mention
> the other posters with similar symptoms). So perhaps
there is some
> predictablity to the rules, its just not the ones it is
supposed to be
> playing by.
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> In spite of what GPaul suggests, DW's templates play
by a predictable set
>> of rules. If your links are correct in the template
page FOR the
>> template page, they will always be correct in the
child pages UNLESS DW
>> thinks that your child pages are not within the
local root folder.
>> Clearly, it thinks that this image -
>>
>> file:///Macintosh HD/Users/toddbingham/Websites
Current/Ruth
>> Institute/design/bg.logo.sm_blu.gif
>>
>> is outside the root folder for the site.
>>
>> Things that can cause problems with these paths can
include spaces in
>> your file/folder names.
>>
>> Have you tried assigning ROOT relative links to the
background images,
>> e.g.,
>>
>> body {
>> font: 100% Verdana, Arial, Helvetica, sans-serif;
>> background: #666666 url(/Ruth
Institute/design/bg.logo.sm_blu.gif);
>>
>> (assuming the 'Ruth Institute' folder is the root
for the site)?
>>
>> --
>> 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
>> ==================
>>
>>
>> "tbfa" <[email protected]> wrote in
message
>> news:[email protected]...
>>> Hey everyone: I have several templates using the
same CSS driven links,
>>> created with a UL; the LIs have individual IDs
and individual
>>> background
>>> graphics as markers; with <some> of the
templates, not all of them (but
>>> all
>>> using the same code -- snippets for the semantic
markup and the CSS)
>>> will
>>> assign 'local' paths to the links for the LI's
bg markers........then of
>>> course, they won't work online, and I can't
alter the code without
>>> dismissing
>>> the template relationship..........argghh! Does
this sound familiar to
>>> anyone........?
>>>
>>> Here's a link: it's the twitter/facebook/RSS
link in the sidebar that's
>>> the
>>> villain; it should have icons of the three as
markers...if you check
>>> the CSS
>>> in the doc, you'll see the local paths.....
>>>
>>>
http://www.ruthinstitute.org/pages/downloads.html
>>>
>>>
>>>
>>
>
> -
Hello,
When i try to export xml file, i get next error:
"ODI-1228: Task P_CREATE_MANUAL_XML (Procedure) fails on the target XML connection XML_BKI.
Caused By: java.sql.SQLException: ODI-40768: Could not save the file /u01/app/out_files/bki/CRE_HAND_OPERATED.XML because a class java.sql.SQLException occurred and said: java.sql.SQLException: java.sql.SQLException: Closed Connection"
But when i restart the agent, all becomes good for a while.
Who knows that problem?Michael R wrote:
The target table will be created when you execute the interface, if you set the option on the flow tab as instructed in step #6 of the "Setting up ODI Constraint on CLIENT Datastore" Section.
Option Value
CREATE_TARG_TABLE trueHi Michel,
This was not my required answer.I am sorry that I was unable to clarify my question.Actually
+This project executed successfully with some warning.Target Table is automatically created in database and also populated with data.But when I right-click Target Datastore(in >Mapping Tab of the Interface), and then select Data to View Data that needs to be inserted in the target table.I get some error like this:-...+This above line is the result of my project my problem is
when I right-click Target Datastore(in Mapping Tab of the Interface), and then select Data to View Data that already inserted in the target table.Is not shown by the view data operation.
I meant to say I am facing this error
At the10(1010 written) step of
Creating a New ODI Interface to Perform XML File to RDBMS Table Transformation
wehre it says
Open the Interface tab. Select Mapping tab, right-click Target Datastore - CLIENT, and then select Data. View Data inserted in the target table. Close Data Editor. Close the tabs...
In my case when I use my sqldeveloper I can see data successfully inserted in my target table and also in error table (data that can't satisfy the constraint) .But I was unable to check this by following the above mentioned 10 th step and got this error.
Thanks -
Am I correct in assuming I can not create a `symlinkd` to a network share, local path, or a UNC path on a network share that will be accessible by clients?
###Mapped drive letters don't work:
1) navigate to a network share:
pushd \\windows2008server\share\
2) make a hardlink:
mklink /d test_sharedir t:\directory\
dir .\test_sharedir
#Directory of Z:\test_sharedir
#File Not Found
UNC paths don't work:
1) navigate to a network share:
pushd \\windows2008server\share\
2) make a symlink:
mklink /d test_dirunc \\windows2008server\share
dir .\test_dirunc
#Directory of Z:\test_dirunc
#File Not Found
I can create a functional `symlinkd` on a local drive to a mapped drive letter or a UNC path.
Are my assumptions above correct?
We are in the middle of a migration and have created two symlinkd to UNC paths for shared DLLs, one below c:\windows\system32\ (directing to a share containing 64-bit DLLs) and one below c:\windows\syswow64 (directing to a share containing 32-bit DLLs).
On the file server, we have had a path to 32-bit DLLs (from Windows 7 clients: s:\dll\). I am attempting to rename this directory so that it is accessible via "s:\dll32\" and would like to create a symlinkd that links "s:\dll" to
"s:\dll32" [again where S: is a mapped drive on a Windows 2008 server]. How do I do this?
Thanks,
MattHello Mandy,
The link you sent me is for Netapp CIFS server daemon contained within DataOnTap (the Netapp OS) to follow symlinks. I am inquiring about the Microsoft products Windows Server and Windows 7.
To gain a better understanding of the Microsoft Windows Server and client (Windows) CIFS stacks and interaction of the stacks, I have referred to Figure 6 "Server Message Block Server Model" within the following (albeit older) document: http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
You will see the following:
I assume that the Windows Server CIFS server service must be "smart enough" to determine that a CIFS client is attempting access to a SYMLINKD and actually fill the request by following the SYMLINKD. The CIFS server service does not appear
to operate like this.
1) Am I correct in my assumption that the CIFS client (redirector) and the CIFS server (server) do not following symbolic links (whether they be file or directory)?
2) If not, how do I submit a feature request for this so that it can be reviewed and approved or not approved for inclusion/hotfix release?
Thanks for your time,
Matt Brown
[UPDATE]
Note that you can use a `directory junction` instead of using a SYMLINKD, to link to LOCAL resources (source). However, `directory junctions` do not allow access to resources over UNC. -
File Open Dialog box + display local path
HI
This is sasi from chennai
I have problem for opon a file dialog and after opening file
I need display full path ( local path like this c:\aa\bb.txt)
how can I achive this , please help me any one.
By
SAsikumar
if you find send mail to this ID [email protected]You cannot, because of security restrictions.
Tracy -
VI Server - Open VI Reference is using local path, not remote
First time posting to NI Developer Zone, so bear with me.
I have a PXI-1050 chassis with a PXI-8187 controller that runs LabView RT. I have set up this PXI system to utilize a VI server on port 3363 and opened access to my host PC which runs LabView 8.2 with the RT module.
I am having trouble openning a remote VI using the VI Server and the "Open VI Reference" function. I am fairly certain that the VI server is connecting using the "Open Application Reference" function, but it seems that the vi I wish to run cannot be found.
Here is the error that is thrown back to me
"Error 7
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Non-existent board.
VI Path: D:\LabView_Projects\VI_Server_Test_Project\/ni-rt/startup/temp_1.vi"
You will notice that the "Open VI Reference" is prepending the local path 'D:\LabView_Projects\VI_Server_Test_Project\' to my remote path. If I specify the path using Windows style path, e.g. 'c:\ni-rt\startup\temp_1.vi', again the remote VI cannot be found. I think I am missing something trivial, but I don't know what it is.
Thoughts?Several things:
1. When u open the vi reference u must use and invoke node to make the Run vi, if you dont make it the vi is loaded but not running.
2. Insert correctly the path on your RT and the IP of your RT target
3. is better to have the variables on your HOST than on your RT becoz of two things:
- Not to use resources of your RT system as memory etc... is better to use the host ones that are more available
- The library needs to be deployed when running the vi on the host. If you put it on the RT it would need to be redeployed, so it is better to leave it on the host becoz of that.
4. Then as the library is on the host it needs to be deployed with the proper invoke node inside a stacked sequence to ensure is the first thing you do.
5. The enable RT fifo on the variables is used only to pass data between different vi's or processes inside the RT, it has no sense to enable it when sharing data RT - Host coz it is not possible, Shared variable work with TCP/IP not as RT FIFO.
See the attached vi for extra info.
I give u these extra links for your info:
http://digital.ni.com/public.nsf/websearch/F4010DD5C8D1B13D862565BC007384E9?OpenDocument
http://digital.ni.com/public.nsf/websearch/04D9A85B6967EE87862571140065EEC6?OpenDocument
http://digital.ni.com/public.nsf/websearch/48D244EC86971D3986256BD4005CCC28?OpenDocument
Regards,
Jaime Cabrera
NI Applications Engineering Spain
Attachments:
Compartida.zip 66 KB -
XML tags in an "export : XML" Report Template
Hi All,
I'm using the export XML report template to produce XML from a query. One of the column contains XML tags and the template is translating eg: if the column is "Groups" then I get:
<Groups>& lt ;Group& gt ;Sales & lt ;/Group & gt ; & lt ;Group& gt ;IT& lt ;/Group& gt ;</Groups>(ignoring all the spaces - OTN is translating the & gt 's :)
instead of:
<Groups><Group>Sales<Group><Group>IT</Group></Groups>Is there an easy way to stop this ?
Thanks,
Steve
Edited by: spilgrim on Mar 6, 2009 12:14 PM
Edited by: spilgrim on Mar 6, 2009 12:14 PMHi Steve,
Did you ever solve this? I'm having a similar issue while trying to build a Report Query that I want to build with nested elements.
<?xml version="1.0" encoding="UTF-8" ?>
- <ROWSET>
- <ROW>
<EE_ID>467</EE_ID>
<EE_GRIDS>
<EE_GRID INDEX="1">
<EE_INCENTIVE_CASH_PROGRAM>MIP</EE_INCENTIVE_CASH_PROGRAM>
<EE_BONUS>20</EE_BONUS>
</EE_GRID>
<EE_GRID INDEX="2">
<EE_INCENTIVE_CASH_PROGRAM>VIP</EE_INCENTIVE_CASH_PROGRAM>
<EE_BONUS>30</EE_BONUS>
</EE_GRID>
</EE_GRIDS>
</ROW>
- <ROW>
<EE_ID>468</EE_ID>
<EE_GRIDS>
<EE_GRID INDEX="1">
<EE_INCENTIVE_CASH_PROGRAM>MIP</EE_INCENTIVE_CASH_PROGRAM>
<EE_BONUS>20</EE_BONUS>
</EE_GRID>
<EE_GRID INDEX="2">
<EE_INCENTIVE_CASH_PROGRAM>VIP</EE_INCENTIVE_CASH_PROGRAM>
<EE_BONUS>30</EE_BONUS>
</EE_GRID>
</EE_GRIDS>
</ROW>
</ROWSET>
Thanks
Keith
Edited by: kmatthew on Mar 17, 2009 2:44 PM
Maybe you are looking for
-
2008 Mac pro won't turn on at all
I have a 2008 MacBook pro and I turned it off and then later I turned it back on and it sounds like it is loading but the screen is still black and there is no start up noise
-
Calling a SP from MSSQL and retrieving multiple resultsets
I have a SP on MSSQL and I am making a call to SP using CallableStatement. here a snippet <%! static Connection connection = null;%> <%! private static CallableStatement cs1,cs2; %> <%! private static ResultSet rs1,rs2; %> <% try{ Class.forName("net.
-
My iPod classic shows that memory full in other category however there is nothing on it. I have left it connected all day and over night trying to restore it but the progress bar never goes away. Is it shot or are there other options to restore to f
-
Playlist Shuffle question - M Zen M: 3
Hi - have a question on playlists and shuffling them. I have several playlists ranging from around 75 to 500 songs. I tend to play them in shuffle mode, and have noticed that some songs get played a lot, and some almost never. I assume that there is
-
Hi, Can someone please tell me what versions my Mac will support and were I can download it from? Thank you Chris