Multiple CustomView in one Xib file?
Hello,
I am attempting to make an app to help with a pen & paper rpg system. My only problem is swapping out one CustomView for another when they are inside the same Xib/Nib file. I have figured out how to set the default view, but i am unable to figure out how to programaticly switch the active CustomView on user input.
Any ideas? Thanks in advance.
I was hoping to not have to use a box, as I find them distracting. Especially when nested. Guess I could just use lines or split-views to separate major element areas.
Similar Messages
-
I recently received a PIXMA MG7520 for a gift. It works great with my lenovo laptop/tablet running on Windos 8.0. The one drawback to the HP all-in-one that it replaced is it does not have an ADF. That being said, there must be some way to scan multiple pages into one pdf file. I need help figuring thing out. Thanks in advance!
Solved!
Go to Solution.Hi mdtolbert54,
There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single PDF document. To do this, please follow these steps:
1. On your keyboard, press the Windows key.
2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it.
3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
4. Click the DOCUMENT SCAN option on the left pane of the window.
5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option.
c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
6. Once all settings have been selected, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
7. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Scanned items are saved in previously selected folder location specified in the SETTINGS... window.
If you find that you need advanced scanning options such as adjusting resolution, brightness, contrast, saturation, color balance, etc. in addition to the options selected above, please click on the SCANGEAR button on the IJ Scan Utility Main screen, then adjust the items as necessary.
Once the items above are set for document scanning, in the future, you will only need to launch the IJ Scan Utility, then press the DOCUMENT button to perform the scan (unless you want to make changes to the settings).
Hope this helps!
This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
How do i scan multiple pages into one pdf file
How do I scan multiple pages into one pdf file?
That depends on your scanning software. Adobe Reader doesn't scan.
-
How to download data in multiple sheets of one excel file
Hello,
I want to download data in multiple sheets of one excel file ..through ole2_object.
i have created program but it is not it is not giving the desird op.
here is the code..
create object excel 'EXCEL.APPLICATION'.
call method of excel 'WORKBOOKS' = books.
call method of books 'ADD' = book1.
*****************" Here we r creating the first sheet.
if flag1 = 'X'.
call method of book1 'WORKSHEETS' = SHEET
EXPORTING
#1 = 1. " here 1 indicating the position of sheet means first position.
call method of sheet 'Activate'.
set property of sheet 'Name' = 'Developments_Summary_Report'.
perform excel_fill.
endif.
*****************" Here we r creating the second sheet.
if flag2 = 'X'.
call method of book1 'WORKSHEETS' = SHEET
EXPORTING
#1 = 2. " here 2 indicating the position of sheet means second position.
call method of sheet 'Activate'.
set property of sheet 'Name' = 'BDC_Developments_Report'.
perform excel_fill.
endif.
set property of excel 'VISIBLE' = 1. " due to this property excel window is visible.
call method of excel 'QUIT'.
but it is generating the two different excel file ..
Thanks in advance,
Paresh.Hi,
Copy and paste this code in your SAP
*& Report ZETA_EXCEL_DOWNLOAD_CLIPBOARD *
report zeta_excel_download_clipboard .
include ole2incl.
data: w_cell1 type ole2_object,
w_cell2 type ole2_object.
*--- Ole data Declarations
data: h_excel type ole2_object, " Excel object
h_mapl type ole2_object, " list of workbooks
h_map type ole2_object, " workbook
h_zl type ole2_object, " cell
h_f type ole2_object, " font
gs_interior type ole2_object, " Pattern
worksheet type ole2_object,
h_cell type ole2_object,
h_cell1 type ole2_object,
range type ole2_object,
h_sheet2 type ole2_object,
h_sheet3 type ole2_object,
gs_font type ole2_object,
flg_stop(1) type c.
** Internal table Declaration
data: begin of t_excel occurs 0,
vkorg(20) type c, "Sales Org
vbtyp(20) type c, "Document Category
auart(20) type c, "Document Type
ernam(20) type c, "Created By
vbeln(20) type c, "Document Number
posnr(20) type c, "Item Number
erdat(20) type c, "Created Date
vdatu(20) type c, "Header Requested Delivery Date
reqdat(20) type c, "Request date
condat(20) type c, "Confirm date
lifsk(20) type c, "Header Block
txt30(30) type c, "Order User Status Description
lifsp(20) type c, "Line Block
dispo(20) type c, "MRP Controller
dsnam(20) type c, "MRP Controller Description
vmsta(20) type c, "Material Sales Status
kunnr(20) type c, "Sold To
cname(35) type c, "Sold To Name
regio(20) type c, "State
cufd(10) type c, "CUD
bstnk(20) type c, "PO#
bsark(20) type c, "Ordering Method
matnr(20) type c, "Material
maktx(35) type c, "Material Description
t200(20) type c, "T200
vtext(20) type c, "T200 Description
matkl(20) type c, "Material Group
zzbomind(7) type c, "BOM Indicator
ostat(20) type c, "Order Status
cmgst(20) type c, "CRD
inco1(20) type c, "Incoterms
oqty(20) type c, "Order Quantity
pqty(20) type c, "Open Quantity
unit(20) type c, "UOM
onet(20) type c, "Order Value
pnet(20) type c, "Open Value
curr(20) type c, "Currency key
so_bezei like tvkbt-bezei,"Sales Office
sg_bezei like tvgrt-bezei,"Sales Group
bname(20) type c, "Ordering Party
contact(20) type c, "Contact Name
telf1(20) type c, "Contact telf1
reqqty(20) type c, "Item Request qty
reqval(20) type c, "Item Request value
conqty(20) type c, "Item Confirm qty
conval(20) type c, "Item Confirm value
zzrev(02) type c, "Revenue recognition acceptance
bezei(20) type c, "Revenue recognition text
vgbel(20) type c, "Reference Order for RETURNS
0008text(255) type c, "Internal Order Comment Text
end of t_excel.
data: t_excel_bckord like t_excel occurs 0 with header line,
t_excel_bcklog like t_excel occurs 0 with header line,
t_excel_blkord like t_excel occurs 0 with header line.
types: data1(1500) type c,
ty type table of data1.
data: it type ty with header line,
it_2 type ty with header line,
it_3 type ty with header line,
rec type sy-tfill,
deli(1) type c,
l_amt(18) type c.
data: begin of hex,
tab type x,
end of hex.
field-symbols: <fs> .
constants cns_09(2) type n value 09.
assign deli to <fs> type 'X'.
hex-tab = cns_09.
<fs> = hex-tab.
data gv_sheet_name(20) type c .
* M A C R O Declaration
define ole_check_error.
if &1 ne 0.
message e001(zz) with &1.
exit.
endif.
end-of-definition.
t_excel_bckord-vkorg = 'ABC'.
t_excel_bckord-vbtyp = 'DEF'.
t_excel_bckord-auart = 'GHI'.
t_excel_bckord-ernam = 'JKL'.
t_excel_bckord-vbeln = 'MNO'.
t_excel_bckord-0008text = 'XYZ'.
append t_excel_bckord.
t_excel_bckord-vkorg = 'ABC1'.
t_excel_bckord-vbtyp = 'DEF1'.
t_excel_bckord-auart = 'GHI1'.
t_excel_bckord-ernam = 'JKL1'.
t_excel_bckord-vbeln = 'MNO1'.
t_excel_bckord-0008text = 'XYZ1'.
append t_excel_bckord.
t_excel_bckord-vkorg = 'ABC2'.
t_excel_bckord-vbtyp = 'DEF2'.
t_excel_bckord-auart = 'GHI2'.
t_excel_bckord-ernam = 'JKL2'.
t_excel_bckord-vbeln = 'MNO2'.
t_excel_bckord-0008text = 'XYZ2'.
append t_excel_bckord.
t_excel_bcklog-vkorg = 'ABC'.
t_excel_bcklog-vbtyp = 'DEF'.
t_excel_bcklog-auart = 'GHI'.
t_excel_bcklog-ernam = 'JKL'.
t_excel_bcklog-vbeln = 'MNO'.
t_excel_bcklog-0008text = 'XYZ'.
append t_excel_bcklog.
t_excel_bcklog-vkorg = 'ABC1'.
t_excel_bcklog-vbtyp = 'DEF1'.
t_excel_bcklog-auart = 'GHI1'.
t_excel_bcklog-ernam = 'JKL1'.
t_excel_bcklog-vbeln = 'MNO1'.
t_excel_bcklog-0008text = 'XYZ1'.
append t_excel_bcklog.
t_excel_bcklog-vkorg = 'ABC2'.
t_excel_bcklog-vbtyp = 'DEF2'.
t_excel_bcklog-auart = 'GHI2'.
t_excel_bcklog-ernam = 'JKL2'.
t_excel_bcklog-vbeln = 'MNO2'.
t_excel_bcklog-0008text = 'XYZ2'.
append t_excel_bcklog.
t_excel_bcklog-vkorg = 'ABC3'.
t_excel_bcklog-vbtyp = 'DEF3'..
t_excel_bcklog-auart = 'GHI3'.
t_excel_bcklog-ernam = 'JKL3'.
t_excel_bcklog-vbeln = 'MNO3'.
t_excel_bcklog-0008text = 'XYZ3'.
append t_excel_bcklog.
t_excel_blkord-vkorg = 'ABC'.
t_excel_blkord-vbtyp = 'DEF'.
t_excel_blkord-auart = 'GHI'.
t_excel_blkord-ernam = 'JKL'.
t_excel_blkord-vbeln = 'MNO'.
t_excel_blkord-0008text = 'XYZ'.
append t_excel_blkord.
t_excel_blkord-vkorg = 'ABC1'.
t_excel_blkord-vbtyp = 'DEF1'.
t_excel_blkord-auart = 'GHI1'.
t_excel_blkord-ernam = 'JKL1'.
t_excel_blkord-vbeln = 'MNO1'.
t_excel_blkord-0008text = 'XYZ1'.
append t_excel_blkord.
t_excel_blkord-vkorg = 'ABC2'.
t_excel_blkord-vbtyp = 'DEF2'.
t_excel_blkord-auart = 'GHI2'.
t_excel_blkord-ernam = 'JKL2'.
t_excel_blkord-vbeln = 'MNO2'.
t_excel_blkord-0008text = 'XYZ2'.
append t_excel_blkord.
t_excel_blkord-vkorg = 'ABC3'.
t_excel_blkord-vbtyp = 'DEF3'..
t_excel_blkord-auart = 'GHI3'.
t_excel_blkord-ernam = 'JKL3'.
t_excel_blkord-vbeln = 'MNO3'.
t_excel_blkord-0008text = 'XYZ3'.
append t_excel_blkord.
t_excel_blkord-vkorg = 'ABC4'.
t_excel_blkord-vbtyp = 'DEF4'..
t_excel_blkord-auart = 'GHI4'.
t_excel_blkord-ernam = 'JKL4'.
t_excel_blkord-vbeln = 'MNO4'.
t_excel_blkord-0008text = 'XYZ4'.
append t_excel_blkord.
loop at t_excel_bckord.
concatenate
t_excel_bckord-vkorg
t_excel_bckord-vbtyp
t_excel_bckord-auart
t_excel_bckord-ernam
t_excel_bckord-vbeln
t_excel_bckord-posnr
t_excel_bckord-erdat
t_excel_bckord-vdatu
t_excel_bckord-reqdat
t_excel_bckord-condat
t_excel_bckord-lifsk
t_excel_bckord-txt30
t_excel_bckord-lifsp
t_excel_bckord-dispo
t_excel_bckord-dsnam
t_excel_bckord-vmsta
t_excel_bckord-kunnr
t_excel_bckord-cname
t_excel_bckord-regio
t_excel_bckord-cufd
t_excel_bckord-bstnk
t_excel_bckord-bsark
t_excel_bckord-matnr
t_excel_bckord-maktx
t_excel_bckord-t200
t_excel_bckord-vtext
t_excel_bckord-matkl
t_excel_bckord-zzbomind
t_excel_bckord-ostat
t_excel_bckord-cmgst
t_excel_bckord-inco1
t_excel_bckord-oqty
t_excel_bckord-pqty
t_excel_bckord-unit
t_excel_bckord-onet
t_excel_bckord-pnet
t_excel_bckord-curr
t_excel_bckord-so_bezei
t_excel_bckord-sg_bezei
t_excel_bckord-bname
t_excel_bckord-contact
t_excel_bckord-telf1
t_excel_bckord-reqqty
t_excel_bckord-reqval
t_excel_bckord-conqty
t_excel_bckord-conval
t_excel_bckord-zzrev
t_excel_bckord-bezei
t_excel_bckord-vgbel
t_excel_bckord-0008text
into it
separated by deli.
append it.
clear it.
endloop.
loop at t_excel_bcklog.
concatenate
t_excel_bcklog-vkorg
t_excel_bcklog-vbtyp
t_excel_bcklog-auart
t_excel_bcklog-ernam
t_excel_bcklog-vbeln
t_excel_bcklog-posnr
t_excel_bcklog-erdat
t_excel_bcklog-vdatu
t_excel_bcklog-reqdat
t_excel_bcklog-condat
t_excel_bcklog-lifsk
t_excel_bcklog-txt30
t_excel_bcklog-lifsp
t_excel_bcklog-dispo
t_excel_bcklog-dsnam
t_excel_bcklog-vmsta
t_excel_bcklog-kunnr
t_excel_bcklog-cname
t_excel_bcklog-regio
t_excel_bcklog-cufd
t_excel_bcklog-bstnk
t_excel_bcklog-bsark
t_excel_bcklog-matnr
t_excel_bcklog-maktx
t_excel_bcklog-t200
t_excel_bcklog-vtext
t_excel_bcklog-matkl
t_excel_bcklog-zzbomind
t_excel_bcklog-ostat
t_excel_bcklog-cmgst
t_excel_bcklog-inco1
t_excel_bcklog-oqty
t_excel_bcklog-pqty
t_excel_bcklog-unit
t_excel_bcklog-onet
t_excel_bcklog-pnet
t_excel_bcklog-curr
t_excel_bcklog-so_bezei
t_excel_bcklog-sg_bezei
t_excel_bcklog-bname
t_excel_bcklog-contact
t_excel_bcklog-telf1
t_excel_bcklog-reqqty
t_excel_bcklog-reqval
t_excel_bcklog-conqty
t_excel_bcklog-conval
t_excel_bcklog-zzrev
t_excel_bcklog-bezei
t_excel_bcklog-vgbel
t_excel_bcklog-0008text
into it_2
separated by deli.
append it_2.
clear it_2.
endloop.
loop at t_excel_blkord.
concatenate
t_excel_blkord-vkorg
t_excel_blkord-vbtyp
t_excel_blkord-auart
t_excel_blkord-ernam
t_excel_blkord-vbeln
t_excel_blkord-posnr
t_excel_blkord-erdat
t_excel_blkord-vdatu
t_excel_blkord-reqdat
t_excel_blkord-condat
t_excel_blkord-lifsk
t_excel_blkord-txt30
t_excel_blkord-lifsp
t_excel_blkord-dispo
t_excel_blkord-dsnam
t_excel_blkord-vmsta
t_excel_blkord-kunnr
t_excel_blkord-cname
t_excel_blkord-regio
t_excel_blkord-cufd
t_excel_blkord-bstnk
t_excel_blkord-bsark
t_excel_blkord-matnr
t_excel_blkord-maktx
t_excel_blkord-t200
t_excel_blkord-vtext
t_excel_blkord-matkl
t_excel_blkord-zzbomind
t_excel_blkord-ostat
t_excel_blkord-cmgst
t_excel_blkord-inco1
t_excel_blkord-oqty
t_excel_blkord-pqty
t_excel_blkord-unit
t_excel_blkord-onet
t_excel_blkord-pnet
t_excel_blkord-curr
t_excel_blkord-so_bezei
t_excel_blkord-sg_bezei
t_excel_blkord-bname
t_excel_blkord-contact
t_excel_blkord-telf1
t_excel_blkord-reqqty
t_excel_blkord-reqval
t_excel_blkord-conqty
t_excel_blkord-conval
t_excel_blkord-zzrev
t_excel_blkord-bezei
t_excel_blkord-vgbel
t_excel_blkord-0008text
into it_3
separated by deli.
append it_3.
clear it_3.
endloop.
if h_excel-header = space or h_excel-handle = -1.
* start Excel
create object h_excel 'EXCEL.APPLICATION'.
endif.
* PERFORM err_hdl.
*--- get list of workbooks, initially empty
call method of h_excel 'Workbooks' = h_mapl.
* PERFORM err_hdl.
set property of h_excel 'Visible' = 1.
* add a new workbook
call method of h_mapl 'Add' = h_map.
* PERFORM err_hdl.
*GV_SHEET_NAME = '1st SHEET'.
gv_sheet_name = 'Back Orders'.
get property of h_excel 'ACTIVESHEET' = worksheet.
set property of worksheet 'Name' = gv_sheet_name .
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
data l_rc type i.
call method cl_gui_frontend_services=>clipboard_export
importing
data = it[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
* PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
* PERFORM err_hdl.
call method of worksheet 'Paste'.
* PERFORM err_hdl.
* CALL METHOD OF h_excel 'QUIT'.
*GV_SHEET_NAME = '2ND SHEET'.
gv_sheet_name = 'Backlog'.
get property of h_excel 'Sheets' = h_sheet2 .
call method of h_sheet2 'Add' = h_map.
set property of h_map 'Name' = gv_sheet_name .
get property of h_excel 'ACTIVESHEET' = worksheet.
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
call method cl_gui_frontend_services=>clipboard_export
importing
data = it_2[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
* PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
* PERFORM err_hdl.
call method of worksheet 'Paste'.
*GV_SHEET_NAME = '3rd SHEET'.
gv_sheet_name = 'Blocked Orders'.
get property of h_excel 'Sheets' = h_sheet3 .
call method of h_sheet3 'Add' = h_map.
set property of h_map 'Name' = gv_sheet_name .
get property of h_excel 'ACTIVESHEET' = worksheet.
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
call method cl_gui_frontend_services=>clipboard_export
importing
data = it_3[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
* PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
* PERFORM err_hdl.
call method of worksheet 'Paste'.
*--- disconnect from Excel
free object h_zl.
free object h_mapl.
free object h_map.
free object h_excel.
Regards
Sudheer -
Export multiple tables into one flat file
I have data in multiple tables on a processing database that I need to move up to a production database. I want to export the data into a flat file, ftp it to the production server and have another job pick up the file and process it. I am looking for
design suggestions on how to get multiple tables into one flat file using SSIS?
Thank You.Hey,
Without a bit more detail, as per Russels response, its difficult to give an exact recommendation.
Essentially, you would first add a data flow task to your control flow. Create a source per table, then direct the output of each into an union all task. The output from the union all task would then be directed to a flat file destination.
Within the union all task you can map the various input columns into the appropriate outputs.
If the sources are different, it would probably be easiest to add a derived column task in-between the source and the union all, adding columns as appropriate and setting a default value that can be easily identified later (again depending on your requirements).
Hope that helps,
Jamie -
Scanning multiple pages to one PDF file on HP PHotosmart 6525 printer
I tried the solution but there was no box near preview so I could change DPI to 300. Tried to scan 2 documents, no save button either. Help?
Hi nancynurse,
Welcome to the HP Support Forums! I see you are interested in scanning multiple pages to one single PDF file and be able to change the dpi settings. To better assist you can you please leave me with the following information:
1. What is the current Operating system you are running, Windows or Mac and which version?
2. Which solution was it that you tried with no success?
3. How are you scanning, with or without the HP Software?
I hope to hear from you soon so we can begin troubleshooting!
Thanks,
HevnLgh
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
Scanning multiple pages as one pdf file
Hi Im using a Macbook Pro 10.9.5 and am trying to scan multiple pages and save as one pdf file. One suggestion is to use image capture. However, when I try to do this it says no camera or scanner is detected but it does not give me an option to copy multiple pages. Any suggestions. I have tried lowering the resolution but still have no luck.
Hi SusieG1026,
Are you sure to select file type Correct as text in image capture window? -
Problem with Expiry Period for Multiple Caches in One Configuration File
I need to have a Cache System with multiple expiry periods, i.e. few records should exist for, lets say, 1 hour, some for 3 hours and others for 6 hours. To achieve it, I am trying to define multiple caches in the config file. Based on the data, I choose the Cache (with appropriate expiry period). Thats where, I am facing this problem. I am able to create the caches in the config file. They have different eviction policies i.e. for Cache1, it is 1 hour and for Cache2, it is 3 Hours. However, the data that is stored in Cache1 is not expired after 1 hour. It expires after the expiry period of other cache i.e.e Cache2.
Plz correct me if I am not following the correct way of achieving the required. I am attaching the config file here.<br><br> <b> Attachment: </b><br>near-cache-config1.xml <br> (*To use this attachment you will need to rename 142.bin to near-cache-config1.xml after the download is complete.)Hi Rajneesh,
In your cache mapping section, you have two wildcard mappings ("*"). These provide an ambiguous mapping for all cache names.
Rather than doing this, you should have a cache mapping for each cache scheme that you are using -- in your case the 1-hour and 3-hour schemes.
I would suggest removing one (or both) of the "*" mappings and adding entries along the lines of:
<pre>
<cache-mapping>
<cache-name>near-1hr-*</cache-name>
<scheme-name>default-near</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>near-3hr-*</cache-name>
<scheme-name>default-away</scheme-name>
</cache-mapping>
</pre>
With this scheme, any cache that starts with "near-1hr-" (e.g. "near-1hr-Cache1") will have 1-hour expiry. And any cache that starts with "near-3hr-" will have 3-hour expiry. Or, to map your cache schemes on a per-cache basis, in your case you may replace "near-1hr-*" and "near-3hr-*" with Cache1 and Cache2 (respectively).
Jon Purdy
Tangosol, Inc. -
Loading multiple tables from one xml-file
I've got one xml-file containing information which should be loaded into multiple database tables. How can I do that?
Please use XSLT to tranform to XML file with XSU recognized format and separated for different table input.
You may refer to Example in book "Building Oracle XML Applications".
null -
Multiple projects, yet one flash file launched from browser
Hello everyone, I glad to be a part of this wonderful community. I have a really sticky Captivate 4 problem, and I wanted to get my feelers out there now before I really need to get this done before the end of the week. This question has to do with publishing. I have 7 project files, and I created a "menu" slide at the end of each of them that look exactly the same. In this particular slide, there are 7 'click boxes' spread throughout the page that launch all the other projects. If you are wondering why I did this, it's because I'm trying to cut back on load time when a user click on any individual project. Now, my programmer can only launch one .swf file from our webpage to get the first project started. So, does this mean Captivate will dynamically handle launching all of the other projects(assuming multiple flash files are created) when they are launched from these "menu" slides? I'm a bit confused. I'm likely confusing some of you as well. It is hard to put the problem into writing. Please help!
Okay, so lets look at the problem, shall we?
You created seven projects. But you later asked:
So, does this mean Captivate will dynamically handle launching all of the other projects (assuming multiple flash files are created) when they are launched from these "menu" slides?
First off, with seven different projects, you end up with seven different outputs. Assuming you are using Captivate in the basic form, you will end up with seven different SWF files and seven different HTM files that need to be factored into things. You may have more files than that, depending on your options used.
When you create the links using the Click Boxes, hopefully you used the option: Open other project. This means that when the user clicks, the other SWF/HTM or EXE (depending on output) will be launched.
I'm sure you will have other questions. So just post back either in threads of their own or by replying to this thread.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
How to combine multiple webservices into one WSDL file
Gurus,
I have 4 four webservices(ws1,ws2,ws3 & ws4) defined in XI. Normally in XI when we define webservice ,WSDL file will be generated for each interface. Now I have 4 related interfaces, so 4 WSDL files will generated. Suppose if I have 100 webservices then 100 WSDL files need to be generated & need to send to other party to consume our services, which is very tedious task & to track also. So is it possible to combine related webservices into one WSDL file? Your inputs will be highly appreciated.
Regards,
SanthoshHi,
Instead of trying to combine the interfaces, you can try to define your interface mapping with 4 sender interfaces with in one interface mapping . I think this may give you the result you are expecting.
If you want entire content to be in one interface , then, define single interface which can accomadate, all message ocntent of all 4 interfaces.Means your sender message to contain the 4 datatypes internally.
Regards,
Reyaz -
How Do You Write Thermocouple Readings From Multiple Channels to One Text File?
Hi Everyone,
I am having difficulty writing a Labview program that allows me to combine readings taken from 8 thermocouples to one text file. I am using a NI cDAQ - 9174 with NI 9219 modules.
Attached is a copy of my program thus far. I have figured out how to combine readings from 8 thermocouples to one waveform chart but the text file will infact be more vital.
I am very new to Labview and only require it for this task so the simpler the solution the better. Apologies for the lack of technical language.
Any help would be much appreciated.
AmyHere's one simple possibility...
Of course, this shows incomplete file handling, and you'll probably want to truncate your floating point values to a few decimal places. I have used this kind of operations for generating text and csv files for thermocouples, much like you are doing.
Good luck!
Dan -
Open multiple images as one layered file
Hi!
I'm doing a gif animation in PS and have five pictures that I need to have as layers on the top of each other. At the moment I'm opening them and copy-pasting them on one of the images to make layers, but this is slow and sometimes confusing with all the images open at the same time.
Is there any way to just tell Photoshop to open all the files so that they are automatically stacked on the top of each other as layers? Please tell me this is possible!
Any help would be highly appreciated! Thanks!Yes this a CS3 feature, although I remember it being avaiable as a separate download somewhere - it works w/CS2 (and 7 I think).<br />I'll copy it below, save it in Notepad, name it "Load Files into Stack.jsx" (no quotes) and put it in C:\Program Files\Adobe\Adobe Photoshop CS2\Presets\Scripts\<br /><br />// (c) Copyright 2006. Adobe Systems, Incorporated. All rights reserved.<br /><br />/*<br />@@@BUILDINFO@@@ Load Files into Stack.jsx 1.0.0.0<br />*/<br /><br />//<br />// Load Files into Stack.jsx - does just that.<br />//<br /><br />/*<br /><br />// BEGIN__HARVEST_EXCEPTION_ZSTRING<br /><br /><javascriptresource><br /><name>$$$/JavaScripts/LoadFilesintoStack/Menu=Load Files into Stack...</name><br /><about>$$$/JavaScripts/LoadFilesintoStack/About=Load Files into Stack ^r^rCopyright 2006-2007 Adobe Systems Incorporated. All rights reserved.^r^rLoads multiple files into a stack object.</about><br /></javascriptresource><br /><br />// END__HARVEST_EXCEPTION_ZSTRING<br /><br />*/<br /><br />// debug level: 0-2 (0:disable, 1:break on error, 2:break at beginning)<br />//$.level = (Window.version.search("d") != -1) ? 1 : 0; // This chokes bridge<br />$.level = 0;<br /><br />// debugger; // launch debugger on next line<br /><br />// on localized builds we pull the $$$/Strings from a .dat file<br />$.localize = true;<br /><br />// Put header files in a "Stack Scripts Only" folder. The "...Only" tells<br />// PS not to place it in the menu. For that reason, we do -not- localize that<br />// portion of the folder name.<br />var g_StackScriptFolderPath = app.path + "/"+ localize("$$$/ScriptingSupport/InstalledScripts=Presets/Scripts") + "/"<br /> + localize("$$$/Private/LoadStack/StackScriptOnly=Stack Scripts Only/");<br /><br />$.evalFile(g_StackScriptFolderPath + "LatteUI.jsx");<br /><br />$.evalFile(g_StackScriptFolderPath + "StackSupport.jsx");<br /><br />$.evalFile(g_StackScriptFolderPath + "CreateImageStack.jsx");<br /><br />/************************************************************/<br />// loadLayers routines<br /><br />loadLayers = new ImageStackCreator( localize("$$$/AdobePlugin/Shared/LoadStack/Process/Name=Load Layers"),<br /> localize('$$$/AdobePlugin/Shared/LoadStack/Auto/untitled=Untitled' ) );<br /><br />// LoadLayers is less restrictive than MergeToHDR<br />loadLayers.mustBeSameSize = false; // Images' height & width don't need to match<br />loadLayers.mustBeUnmodifiedRaw = false; // Exposure adjustements in Camera raw are allowed<br />loadLayers.mustNotBe32Bit = false; // 32 bit images<br />loadLayers.createSmartObject = false; // If true, option to create smart object is checked.<br /><br />// Add hooks to read the value of the "Create Smart Object" checkbox<br />loadLayers.customDialogSetup = function( w )<br />{<br /> w.findControl('_createSO').value = loadLayers.createSmartObject;<br /> if (! app.featureEnabled( localize( "$$$/private/ExtendedImageStackCreation=ImageStack Creation" ) ))<br /> w.findControl('_createSO').hide();<br />}<br /><br />loadLayers.customDialogFunction = function( w )<br />{<br /> loadLayers.createSmartObject = w.findControl('_createSO').value;<br />}<br /><br />// Override the default to use "Auto" alignment.<br />loadLayers.alignStack = function( stackDoc )<br />{<br /> selectAllLayers(stackDoc, 2);<br /> alignLayersByContent( "Auto" );<br />}<br /><br />loadLayers.stackLayers = function()<br />{<br /> var result, i, stackDoc = null;<br /> <br /> stackDoc = this.loadStackLayers();<br /> if (! stackDoc)<br /> return;<br /> <br /> // Nuke the "destination" layer that got created (M2HDR holdover)<br /> stackDoc.layers[this.pluginName].remove();<br /> <br /> // Stack 'em up.<br /> if (this.createSmartObject)<br /> {<br /> selectAllLayers( stackDoc );<br /> executeAction( knewPlacedLayerStr, new ActionDescriptor(), DialogModes.NO );<br /> }<br />}<br /><br />// "Main" execution of Merge to HDR<br />loadLayers.doInteractiveLoad = function ()<br />{<br /> this.getFilesFromBridgeOrDialog( localize("$$$/Private/LoadStack/LoadLayersexv=LoadLayers.exv") );<br /><br /> if (this.stackElements)<br /> this.stackLayers();<br />}<br /><br />loadLayers.intoStack = function(filelist, alignFlag)<br />{<br /> if (typeof(alignFlag) == 'boolean')<br /> loadLayers.useAlignment = alignFlag;<br /> <br /> if (filelist.length < 2)<br /> {<br /> alert(localize("$$$/AdobeScripts/Shared/LoadLayers/AtLeast2=At least two files must be selected to create a stack."), this.pluginName, true );<br /> return;<br /> }<br /> var j;<br /> this.stackElements = new Array();<br /> for (j in filelist)<br /> {<br /> var f = filelist[j];<br /> this.stackElements.push( new StackElement( (typeof(f) == 'string') ? File(f) : f ) );<br /> }<br /> <br /> if (this.stackElements.length > 1)<br /> this.mergeStackElements();<br />}<br /><br />if (typeof(loadLayersFromScript) == 'undefined')<br /> loadLayers.doInteractiveLoad();
-
Multiple IDOCs from one Flat file
HI Gurus,
Sender file is of such format
Header1,Item1 details
Header1,Item2 Details
Header2, Item1 Details
Header2,item2 Details
Header3, Item1 Details
I need to map this file format to IDOC strucutre, In Header there is a filed which is the Key value to identify the change in header.
Eg: Order Number is the field in the following file which identifies the change in header: First three fields are header details and following are the item details:
ABC,ON1,22,Item1,XX
ABC,ON1,33,Item2,FF
ABC,ON2,44,Item1,MM
ABC,ON3,66,Item1,LL
How would be the Data type strcuture to capture this type of falt file strcuture and FCC parameters?
I need to send a single IDOC per one header with multiple Items. is it possible to achieve?
Thanks
RajeevHi Satish,
Do we need to do some configuration to produce 3 IDOCs from the below strcuture?
ABC,ON1,22,Item1,XX
ABC,ON1,33,Item2,FF
ABC,ON2,44,Item1,MM
ABC,ON3,66,Item1,LL
From the above structure 3 IDOCs should be generated as below:
1st IDOC as
ABC,ON1 (Header Details)
22,Item1,XX (Item1 Details)
33,Item2,FF (Item2 Details)
2nd IDOC as
ABC,ON2 (Header Details)
44,Item1,MM (Item1 Details)
and 3rd IDOC as
ABC,ON3 (Header Details)
66,Item1,LL (Item1 Details)
Do following Data type for the above file structure is valid? or I can use one flat DT?
Record
Header(1..Unbounded)
---F1 (Field 1)
---ON (Key Field Order Number)
Item Details(1..Unbounded)
---F1 (Field1)
---F2
---F3
If the above DT is correct then how would be the FCC parameters?
Thanks
Rajeev -
Best way to have multiple arrangements in one project file?
Hello everybody,
I am trying to figure out a smart way of having multiple arrangements associated with one project. More importantly, this would allow me to have multiple arrangements associated with the same pool of audio files in one audio window -- without needing to import/export audio.
In DP this is achieved with multiple "sequences". I am aware this feature is not in Logic. However, perhaps there is a way to achieve a similar process?
I guess a not-so-elegant approach would be to simply save a new song; however, if I want to use new song audio files in the old song, i'd have to import the new song audio files to the old song. Not a big deal, I guess.
Thanks,
D
Mac OS X (10.4.5)Thanks for responding Justin & David,
Let me to try to better explain what I am trying to achieve.
(Currently my problem is that I am thinking in the "workflow language" of DP, trying to figure out an analogous "translation" in Logic. For those familiar with DP, I am simply wanting to create a new sequence, within the same "song" file.
Let's say I create a bunch of audio tracks, and compile them into arrangement A. I would like to work on a new idea that may be part of the final piece; So, I would like to have a clean, new arrangement page where I can put some of the previous audio files generated & used in arrangement A, as well as make some new ones. I'll call this arrangement B. So, in other words, arrangement B is a fresh new arrangement page that uses audio files from arrangement A as well as new ones.
If any previous/current DP users know the best way of approximating DP's use of multiple sequences, I'd love to know what you do.
I will explain what I am able to do if I were in DP (for the sake of communicating my problem, but not intended to begin a DP vs. LP thread).
I will use Logic terminology, but DP concept:
In DP, one can have multiple Arrangement windows that share a pool of audio files from one Audio Window. This allows one to try different arrangements, without keeping track of new/old audio files; and without needing importing and exporting them between songs.
I have been reading the Project Manager section in the Logic manual. (By the way, I am not seeking a DP functionality in Logic; I am seeing how one achieves a similar workflow approach in Logic.)
I realize I cannot even explain myself well. Perhaps I should consider the concept of sub-arrangements, and master arrangement. I guess, sub-songs, and work-in-progress master song. The master songs should have all audio files, and sub-songs have whatever audio files were created while working on that particular sub-song. So, with this, whenever I want to go back to master song, I've got to import the audio files from the sub-song.
This may make sense - & may work smoothly. I've got to try it out.
(Btw, David, I captured a screen shot, but I don't know where/how to post it.)
A major thanks to all who have the patience to read so many words for a one word sentence.
Thanks,
Danny
Maybe you are looking for
-
How do I get a PDF to attach to an email without expanding?
When I attach a PDF to an email on my Mac, it expands within the body of the email while I want to attach the PDF as a file. How do I fix?
-
Pure AS3 Project unable to resolve resource bundle
I've been working on a pure AS3 project in Flash Builder and all has been going just fine. All of a sudden, I started getting errors such as: Unable to resolve resource bundle "core" for locale "en_US". Player Unknown Flex Problem What in the heck di
-
When i click and it shows the options for 'menu bar' or 'tabs on top' the customize button is grey and unclickable. Whats going on? And better yet, how the heck do i fix it?
-
Hi all This was the Scenario: We have a Report that uses some FM for some tasks. First Function Module is the Standard one, that sets a value to its Golbal Variable (assume myCompany present in the Global Decalration of the Function Group). Sec
-
Saving XML to a local text file
Hi, Can anyone tell me of a method i can use to save XML to a local text file in the same directory as my swf file? Jesper