Variable not getting the filename
Hello Experts
I am new to ODI.
when i am using variable for filename its not working.
Please suggest.
Thank you
Hi
after giving the filename just hit ENTER in your key board.(I think after pesting the filename you are directly clicking ok)
Then click OK.
It will work.
Thanks
Similar Messages
-
Getting the filename of a placed image inside a smart object
Hi
I'm wondering if I can get any help with a problem I'm trying to overcome for a friend of mine.
My friend is a photographer who does a lot of schhols work (pupil portraits) and wants to create a little document similar to this (very simplified) version:
I'm trying to help him to create a batch process so that he can make this take up much less of his time!
Here's where I've got to so far. I've created the layout above which is essentially a smart object (from an external file) manipulated in a couple of ways.
The workflow as I see it at the moment (although I'm wide open to suggestions, and I'm having a bit of Friday brain) is this: I generate an action that replaces the content of the external file with the contents of (each file in his incoming list, sequentially).
That file then comes back into the layout above and a new (flattened) copy is saved out from there.
Rinse and rerpeat through the list of incoming files.
I can just about make that bit happen using actions, but here's what I can't get - the filename of the incoming file (the one that's placed in the smart object). Can I can use a modified version of the AddFileName script to generate a text layer based on the filename of the placed contents in the smart object? Does any of that make sense? I'm reading this back to myself and even I'm not sure! ho ho.
My lack of logic/coherent sentence structure here is what probably holds me back in any eforts I have made in getting into scripting.
I'd appreciate any help that could be offered.
Thanks.
FentonAh - alas it sems not to be. I think I am going to have to come up with a different workflow and by extension, solution. My current thinking is that I need to have an input folder for the images to be used in the layout, and an output folder for the results to be saved into, along with the layout.psd (as above) all housed in the same folder. Then I need (help) to write a script that does the following:
Checks that the layout document is open (that bit is easy enough)
if(documents.length==0){
alert("You need to have your layout template open (-layout.psd-)")
}else{
// Do next bit here - and what I'm trying to do is described below.
// Hopefully by typing it out I might start to get it straight in my head
// Any help with any part of this process is greatluy appreciated
// I'm trying to learn!
Then what I think the script needs to do is tocheck the contents of the input folder and find out how many files are in it then set this as a variable, to set the length of a loop, maybe? Or should it load the filenames as an array and work through them sequentially?
Once that information is established, there is a smart object on the first layer that needs to be updated with the contents of the first file - my thinking s that this is done by the script opening each image, and then copy/pasting into the smart object, merging down (so I don't end up with an enormous multi-layered file). My reason for thinking this would be a good idea would be that I could just run a quick check to make sure that no landscape pics have sneaked in there and if they have, rotate them (which again, is pretty easy as even I could do that bit, too).
doc = activeDocument;
if (doc.height < doc.width) {
doc.rotateCanvas(90);
} else {
// Carry on
This will update all of the smart object instances throughout the layout template.
Then the text underneath the main image needs to be updated with the filename of the file that has been pasted in the smart object, and after that a [flattened] copy saved out to an output folder.
Rinse and repeat for the remaining images in the input folder.
Any thoughts?
Thanks
Fenton -
Is there a way to get the filename only on iOS using CameraRoll?
This post is a sidetrack from this post: http://forums.adobe.com/thread/848761?tstart=0
The method used in that post works perfect on both Android and iOS for selecting and uploading files.... BUT is there a way to get the filename of the file from the mediaPromise cross-plattform?
If you let the user select an image it's not very nice to have the image be called "temp.jpg" after uploading - you want the user to know which image he/her have uploaded
Any ideas? The "mediaPromise.file.relativePath()" works on Android but not on iOS. Not "mediaPromise["file"].url/relativePath/nativePath" either.
Thank youHey Joe what do you think of this solution.
1. Let the user select the image
2. Store the mediaPromise object in an array (event.data) for later use
3. Load in the object using loadMediaPremise
4. Add the loaded image into a movieclip (not visible from the scene)
5. Resize that movieclip to let's say 100x100
6. Use the BitmapData class to create a new bitmap from that movieclip and save it to storage
7. Use the saved file within the app as a thumbail
8. Use the mediaPromise object stored in the array later when the user wants to upload the images (then go through mediaPromise.open() on each image -> save to storage -> upload -> clear from storage -> loop).
I haven't tried it yet (will do this week) but should that be a acceptable solution to the problem(?)
I'm unsure if by just keeping the mediaPromise object within Flash will make the memory run wild though? -
How to get the filename from J2SE File adapter
In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping and J2SE for Deliveying the message .
In one senario, routing will be based on the filename .
J2SE Sender File adapter --- XI Adapter --- XI pipe line
So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
When we are using the dynamic configurator in the XI to get the filename
we are not able to get the file name becasue it is coming to XI via
XI adapter.
How to get the filename ????Hope I am clear about the problem.hi,
try this
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//obtengo la Key del FileName
DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
/people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
Hope it helps
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM -
Can not get the parameter?
I use a form to upload files,
like this:
<form name="gdform10" action="upload.jsp" ENCTYPE="multipart/form-data" method="post">
<input type="hidden" name="picName" value="wxds.jpg">
<input type="file" name="file">
<input type="submit" name="savePic" value="modify">
</form>
but I can not get the parameter picName in the upload.jsp,
like :
String pname = request.getParameter("picName");
but pname is null.Hello,
In Jsp, if you want to upload file, you can't directly use "request.getParameter()".
There're two company provide components for you and it's free.
First is jspsmart company, it offer jspsmartUpload component and link is
http://www.jspsmart.com
Second is o'reilly, it offer MultipartRequest component and links is http://www.servlets.com/cos/javadoc/com/oreilly/servlet/MultipartRequest.html
for example, you use oreilly component.
<%@ page import="com.oreilly.servlet.MultipartRequest" %>
String saveDirectory = "c:\\Upload\\";
int maxPostSize = 5 * 1024*1024;
MultipartRequest multi= new MultipartRequest(request,saveDirectory,maxPostSize );
Enumeration filesname = multi.getFileNames();
while(filesname.hasMoreElements()){
String name = (String)filesname.nextElement();
FileName = multi.getFilesystemName(name);
File f = multi.getFile(name);
String ContentType = multi.getContentType(name);
ps. above codes is from book named "java server pages tech reference" -
Refernce Nav igational Attribute is not getting the data in Infoprovider
Hi,
I am facing the issue with Reference Characteristic which is a navigational attribute for which data is not getting populated in the cube.Please find the below scenario.
We have three characteristics 0RECV_WBS_E , 0WBS_ELEMT, ZPSBUSA .Char 0RECV_WBS_E is reference of 0WBS_ELEMT.
0RECV_WBS_E__ZPSBUSA,0WBS_ELEMT__ZPSBUSA are the Navigational attributes of ZPSBUSA, these two are maintained as Navigational attributes in the cube and at info object level. The Nav Attribute 0RECV_WBS_E__ZPSBUSA is not getting the data in infocube where as 0WBS_ELEMT__ZPSBUSA is getting the data .The data is available for the two Nav attributes in the info object ZPSBUSA .Can you please suggest why this reference Nav attribute 0RECV_WBS_E__ZPSBUSA is not getting data in the infocube.
Thanks,
SUbhashHi,
I am facing the issue with Reference Characteristic which is a navigational attribute for which data is not getting populated in the cube.Please find the below scenario.
We have three characteristics 0RECV_WBS_E , 0WBS_ELEMT, ZPSBUSA .Char 0RECV_WBS_E is reference of 0WBS_ELEMT.
0RECV_WBS_E__ZPSBUSA,0WBS_ELEMT__ZPSBUSA are the Navigational attributes of 0WBS_ELEMT, these two are maintained as Navigational attributes in the cube and at info object level. The Nav Attribute 0RECV_WBS_E__ZPSBUSA is not getting the data in infocube where as 0WBS_ELEMT__ZPSBUSA is getting the data .The data is available for the two Nav attributes in the info object 0WBS_ELEMT .Can you please suggest why this reference Nav attribute 0RECV_WBS_E__ZPSBUSA is not getting data in the infocube.
Thanks,
SUbhash
Edited by: MarkSubhash on Dec 9, 2011 11:11 AM -
I am not getting the data in Bex from the cube
Hi Experts,
i am not getting the data from the cube to Bex,
cube having the data, but i am not able to see this data in the Bex result area.
Can any one help me.
Best regards,
BhaskarHi
In the manage cube, is reporting symbol is there for your requests
If you have any red requests delete them and refresh
If all requests having reporting symbols you may check the BEx without any filters or selection criterions
Regards
N Ganesh -
Iam not getting the data on screen after using the user exit zxpadu01
Dear Freinds
As per my requirement when the user enters value Ansal it should get defaulted to Amount field (bet01 ) based on the wage type
i have written calculation ( q0008-bet01 = ansal/100) before it getting defaulted to bet01, i found that value is not getting default on the screen for bet01 once i enter value for Ansal , please any body correct my code
in ZXPADU02 i have written the code as below :
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008. -- HERE I GOT ALL THE DATA EXCEPT BET01
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- HERE I CAN SEE EVEN THE BET01 IS FILLED
IMPORTING
prelp = innnn. --- HERE I CAN SEE LGART BUT NOT AMOUNT VALUE
endif.
when others.
endcase.
IN ZXPADU01 I HAVE WRITTEN AS BELOW:
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- I CAN SEE ONLY WHEN I COME AGAIN
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
Now my problem is as follows :
i have entered the value for Ansal (ex: p0008-Ansal = 1000) ..........and i say enter then i should found the calculated value for the ansal through my coding
and it should display in bet01 as 10 ( q0008-bet01 = p0008-ansal /100)
but i dont find the value 10 being displayed for the field bet01 on the screen when
user enters Ansal as 1000 .........even then i have saved it to test the scenario......
now i came in displayed mode (pa20 ) for the infotype 008 for the same personnel no for the same dates .....where i created the record........i found that the value
bet01 is there i.e i can see the value bet01 as 10 ( my requiremnt here matching)
but when the user say enter during the time of creation of the record the value
bet01 is not getting defaulted with 10 .........why iam not able to understand
PLEASE ANY BODY HELP ME IN THIS REGARD
regards
shanti.Hi Pranesh,
i have used the logic which you hav given as below
in ZXPADU02
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount . --- amount as (ansal /100 i.e 1000/100 = 10) 10
endif.
still iam not getting the data for the field bet01
this is the coding i am using
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
FIELD-SYMBOLS <fs> TYPE ANY.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount .
endif.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
please help me as iam still not getting (value in bet 01) when i press enter once i enter value in ansal feild.
regards
shanti. -
Can not get the Cisco TSP to show UP - 2003 64bit
Can not get the Cisco TSP to show up on the list of Providers in Phone and Modem Options- Advance tab. Installed ver. 4.1, it seems to install correctly, with no errors but when I restart the server, there is no Cisco TSP001.tsp in the providers list. It works perfectly on my Windows 2003 servers, but will not work on this new Windows 2003 64 bit server. Any tricks to getting this to load?
Thanks
KeithHi
There is no 64-bit TSP yet. Whilst 32-bit apps will work OK for the most part on 64-bit via the WoW function, drivers tend to not be so flexible, and that's what TSP is...
You'll have to bother your Cisco accounts folks to get this prioritised, it is upsetting a lot of people...
Aaron
Please rate helpful posts... -
I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?
Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.
-
PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12
Hi All,
RDBMS:10.2.0.3.0
Oracle Apps :12.0.4
OS:AIX 5.3
Problem Description:
We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
The error message what was shown is as below:
"Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
could anyone please share such an experience encountered for resolution..
Would appreciate an early response..
Thanks for your time!
Regards,I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
Check that you can see the output from apps through the viewer (the report may not hav output anything)
Check whether you can print anything on that printer from apps.
May also be worth checking to see if you can print to another printer from this report. -
I have an iPad 2 and the newest apple tv. I do not get the option to turn mirroring on in the AirPlay function. I have tried the suggestions I've seen on here so far, but nothing has worked. Has anyone come up with a fix to this problem?
Your Apple TV and iOS device (iPad) need to be on the same network subnet. If they are you can verify when playing that the ATV is set as the output device by clicking the icon to the the right of the fast-forwrd button. Or you can double-click the home button and swipe left twice to see this.
-
When I go into Channel 4 website to catch up on tv programmes on any of their channels I do not get the task bar to be able to pause, select point in programme to start from etc. Happens in both play and play in pop up. So if I play I can not make large screen.
Don't know where problem lies but others in house who acces same web site do not have this problem and I am the only one that uses firefox.
We all have different computersThat file might have moved to a different location on the server. I think you'll need to check with RefWorks support or your local IT department on why the install page links do not work.
-
I Just received the update to iTunes, when I I look at the screen I do not see the normal icons. When I select movies I do not get the new downloads unless I select the list in the sub file. How do I get back to the old method of seeing and using iTunes??
I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account? I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.
-
I am having problems setting up a new 7th gen IPod NAN or both my Windows 7 and Windows Vista PCs. When first connecting I did not get the setup screens and cannot sync existing media. The NANO assumed the name of a previously installed IPod touch and resetting does not clear this name. I have tried uninstalling and reinstalling iTunes.updating driver software and resetting the NANO without any success
Purchased as new at Best Buy. As far as I know it was noever formatted prior to my purchase
Maybe you are looking for
-
Frequent FF crashes when clicking on a bookmark in the sidebar
Running Win7 64bit, Firefox 3.6, but this problem existed for me in earlier versions of FF also. When I click on a bookmark in sidebar view, I will experience frequent FF crashes. When I re-open FF, the sidebar view is gone. I don't experience these
-
Performance of FCStudio 3 on Mac Pro 8 core ?
I decided to upgrade to FCS 3 (already purchased) from FCE. Further, an upgrade from my old G4 to an 8 core MacPro 4,1 (ddr3, direct connect {no FSB), Nehalem, 6GB ram, but not yet purchased), since FCS3 requires an Intel Mac. I just found out by sea
-
US Airport Express, in Europe. Can't choose European countries in setup
I purchased an Airport Express in US. I currently live in Norway, and trying to setup my Airport Express. But under Wireless and Settings and Country. There are no European countries. Only Brazil, Canada, Colombia, Mexico, Peru, Puerto Rico, USA and
-
Importing Keywords from other DAM Software (Cumulus)
Hi, A client is currently switching from analog to digital photography. She is a professional garden photographer. The switch to digital photography comes along with establishing a raw processing workflow and therefore she is impressed with Lightroom
-
Good Software for G3 and Tiger
I am about to recieve an iBook G3. And will upgrade it to Tiger. And it seems to be a little difficult to find software that works on a G3, I would like to know if any of the apple community knows of any good free/paid software. I would appreciate yo