FDM - Scripting for exporting application
Hi
Can you please advise if it is possible to write a script to automate the FDM export (Application export, this would be for the locations, users, maps etc...)
Regards
Edited by: user12990175 on 2010/07/05 11:59 PM
I have not seen any scripts be used to automate this process. Keep in mind that an application extract can only be loaded into a fresh FDM application, it cannot be used to merge metadata between two FDM applications. I don't really see much of a purpose to automate this process, it is something that normally should be done manually.
Similar Messages
-
Shell script for export backup in oracle 11g
Hi,
Oracle version 11.2.0..
O/S-AIX
How to write shell script for export full backup in oracle 11g and also need to remove 2 days of old backup.
Regards,
RajuHow to write shell script for export full backup in oracle 11g
Do you mean that export is your backup strategy ? is your database running in noarchivelog mode ? if so, then why ? if not so, then why not RMAN ?
need to remove 2 days of old backup.
If that mean remove files older than 2 days, you can use something like this :
$ find <absolute directory path> -mtime +2 -exec rm {} \; -
Script for export in datapump -- help needed !!!
hello all,
i am using the following script as batch file in my database for export
script:
=========
exp name/password file=d:\exp\%date%.dmp full=y log=d:\exp\exp.log an this will replace the first file(monday) on next monday.
similar way i need a script for data pump for full database export using datapump
thanks ,
goldlogin to database as a dba and create directory for your dumpfile path.
create directory dpump_dir as 'd:\exp';
and then use the below script for export.
expdp username/password full=y directory=dpump_dir dumpfile=%date%.dmp logfile=exp.log -
Test scripts for oracle applications using qtp testing tool
hi
i want some test scripts for oracle applications using qtp testing tool
regardsYou will need to create separate scripts for Load testing. The functional scripts cannot be used in OLT. The exceptions to this would be the "General" items (Java Code Script & Web Services) which can also be used in OLT.
e.g. Instead of selecting "Functional Testing - Oracle EBS/Forms"
select "Load Testing (Protocol Automation) - Oracle EBS/Forms"
Once you get into load testing you'll realise that you want to create very specific scripts and won't want to try re-using functional scripts. I know a lot of such tools are 'sold' on the fact that functional scripts can be re-used for load, but when it comes down to it you'll want to design your load scripts seperately anyway! -
Scripts for Exporting Master/Work Rep
Hi,
I want to automate the export process and in turn was looking for any scripts for exporting the whole ODI Work/Master Rep. I checked the CLASS objects and we donot have any CLASS names for Repository exports.
Thanks in advance for any answers..!Created for 10g [ http://odiexperts.com/automize-the-backup-using-odi-exports]
but should work for 11g too :) -
Rational Robot Test Scripts for Oracle Application Vanilla Instance
Hi,
Does anybody have Rational Robot Test Scripts for Oracle Applications Vanilla Instance. We are in the process of automating testing. But for the same, we need to have the test scripts for the standard functionalities/flows.
Any help would be highly appreciated.
kanjurmHi;
I belive there is no sch a script as you mention. Please log a SR for your request
Regard
Helios -
Script for export all text in single rtf file?
Hi!
I need to export all storys from indd document to a single rtf file. Is there avaible some free script for CS4 which can do that?if(app.documents.length != 0){
if(app.documents.item(0).stories.length != 0){
myGetFileName(app.documents.item(0).name);
//========================= FUNCTIONS ===========================
function myGetFileName(myDocumentName){
var myFilePath = File.saveDialog("Save Exported File As:");
if(myFilePath != null){
myDisplayDialog(myDocumentName, myFilePath);
function myDisplayDialog(myDocumentName, myFilePath){
//Need to get export format, story separator.
var myExportFormats = ["Text Only", "Tagged Text", "RTF"];
var myDialog = app.dialogs.add({name:"ExportAllStories"});
with(myDialog.dialogColumns.add()){
with(dialogRows.add()){
with(dialogColumns.add()){
var myExportFormatDropdown = dropdowns.add({stringList:myExportFormats, selectedIndex:0});
with(dialogRows.add()){
var myAddSeparatorCheckbox = checkboxControls.add({staticLabel:"Add separator line", checkedState:true});
var myResult = myDialog.show();
if(myResult == true){
var myExportFormat = myExportFormats[myExportFormatDropdown.selectedIndex];
var myAddSeparator = myAddSeparatorCheckbox.checkedState;
myDialog.destroy();
myExportAllText(myDocumentName, myFilePath, myExportFormat, myAddSeparator);
else{
myDialog.destroy();
function myExportAllText(myDocumentName, myFilePath, myExportFormat, myAddSeparator){
var myPage, myStory;
var myExportedStories = [];
var myTempFolder = Folder.temp;
var myTempFile = File(myTempFolder + "/tempTextFile.txt");
var myNewDocument = app.documents.add();
var myDocument = app.documents.item(myDocumentName);
var myTextFrame = myNewDocument.pages.item(0).textFrames.add({geometricBounds:myGetBounds(myNewDocument, myNewDocument.pages.item(0))});
var myNewStory = myTextFrame.parentStory;
for (var i = 0; i < myDocument.pages.length; i++) {
myPage = myDocument.pages.item(i);
for (var t = 0; t < myPage.textFrames.length; t++){
myStory = myPage.textFrames[t].parentStory;
if (!IsInArray(myStory.id, myExportedStories)) {
//Export the story as tagged text.
myStory.exportFile(ExportFormat.taggedText, myTempFile);
myExportedStories.push(myStory.id);
//Import (place) the file at the end of the temporary story.
myNewStory.insertionPoints.item(-1).place(myTempFile);
//If the imported text did not end with a return, enter a return
//to keep the stories from running together.
if(i != myDocument.stories.length -1){
if(myNewStory.characters.item(-1).contents != "\r"){
myNewStory.insertionPoints.item(-1).contents = "\r";
if(myAddSeparator == true){
myNewStory.insertionPoints.item(-1).contents = "----------------------------------------\r";
} // if not exported
} // for text frames
} // for pages
switch(myExportFormat){
case "Text Only":
myFormat = ExportFormat.textType;
myExtension = ".txt"
break;
case "RTF":
myFormat = ExportFormat.RTF;
myExtension = ".rtf"
break;
case "Tagged Text":
myFormat = ExportFormat.taggedText;
myExtension = ".txt"
break;
myNewStory.exportFile(myFormat, File(myFilePath));
myNewDocument.close(SaveOptions.no);
myTempFile.remove();
function myGetBounds(myDocument, myPage){
var myPageWidth = myDocument.documentPreferences.pageWidth;
var myPageHeight = myDocument.documentPreferences.pageHeight
if(myPage.side == PageSideOptions.leftHand){
var myX2 = myPage.marginPreferences.left;
var myX1 = myPage.marginPreferences.right;
else{
var myX1 = myPage.marginPreferences.left;
var myX2 = myPage.marginPreferences.right;
var myY1 = myPage.marginPreferences.top;
var myX2 = myPageWidth - myX2;
var myY2 = myPageHeight - myPage.marginPreferences.bottom;
return [myY1, myX1, myY2, myX2];
function IsInArray(myString, myArray) {
for (x in myArray) {
if (myString == myArray[x]) {
return true;
return false;
This is a revised version of the script -- not totally tested.
Kasyan -
Error for linking ecatt Script for exporting parameter
Hi,
We have 2 SAPGUI scripts, one is transaction CO01 to create the production order. The other is CO02 to release the production order. In the first script I get production order number as parameter 1 in the message field. I need to export this field to second script for releasing order.
I am not able to pick the order.
Tried to use ABAP code
ABAP.
DATA: z_aufnr like CAUFVD-AUFNR.
get parameter id 'ANR' FIELD Z_AUFNR.
ENDABAP.
Still export parameter in log comes as empty. So if I create thrid script using ref# it errors out at second script start.
Your help is greatly appreciated.
Thanks,
GajananHi
you don't have to use abap for this .
in the command editor
choose first script recording interface and double click it ,observe the screen list on right side and now select the last screend and double click field and parameterize it say give it a name as variable1 by entering this in valin column.
Create a parameter and by param1 name and export type and default values as variable1.
Now for the second script create a parameter as import type and set it's value as ¶m1&.
Also pass this value to second script by the same as you done for first script.
This will work for sure.
To know more how to parameterize follow the links,
/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
http://www.sapecc.com/tutorials/secat_create.htm
Please reward points. -
Need script for exporting images to EPS
I need to write a script to export a whole bunch of files from Indesign CS3 to EPS files. Right now we do them one at a time...here are the steps we take that we would need included in the script...
Select all (Control A), ungroup, convert to outlines (control-shift O), export (need to be able to say black or white or RGB) and then close the file without saving.
and if there was anyway to loop this script for 20 files at a time that would be really helpful.
Can any help or direct me to a website that can help.
Thanks!
MarissaMaybe this one: http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
Peter -
Script for export from eps to jpg done. Just need to know jpg pixel dimensions?
i have a script which export eps to jpg using below script (width is always 1276 px). Is there any way to know the dimension of the each jpg files as an alert?
#target illustrator
var i, files, sourceDoc, targetFile;
files = File.openDialog ("Hi, Please select EPS file(s)", /.eps$/, true);
try
if (files.length > 0)
for ( i = 0; i < files.length; i++ )
sourceDoc = app.open(files[i]);
var myVisibleBounds = sourceDoc.visibleBounds;
myVisibleBounds[0] = myVisibleBounds[0] - 1; // left
myVisibleBounds[1] = myVisibleBounds[1] + 0.5; // top
myVisibleBounds[2] = myVisibleBounds[2] + 1; // right
myVisibleBounds[3] = myVisibleBounds[3] - 1 ; // bottom
sourceDoc.artboards[0].artboardRect = myVisibleBounds;
// var docLeft = sourceDoc.artboards[0].artboardRect[0] - 50;
// var docTop = sourceDoc.artboards[0].artboardRect[1] + 50;
// var docRight = sourceDoc.artboards[0].artboardRect[2] + 50 ;
// var docBottom = sourceDoc.artboards[0].artboardRect[3] -50 ;
var sourceDocWidth = Math.round(myVisibleBounds[2] - myVisibleBounds[0]);
// var sourceDocHeight = docTop - docBottom;
var myZoom = (1276/sourceDocWidth) * 100;
// alert(sourceDocWidth + " Math round: " + Math.round(sourceDocWidth) + " " + myZoom);
targetFile = getNewName();
// Call function getPDFOptions get the PDFSaveOptions for the files
exportOptions = exportJPEG( );
// Save as pdf
sourceDoc.exportFile (targetFile, ExportType.JPEG, exportOptions);
sourceDoc.close(SaveOptions.DONOTSAVECHANGES);
alert( "Done" );
catch(e)
alert(e + "\r" + "No files selected");
function getNewName()
var ext, docName, newName, saveInFile, docName;
docName = sourceDoc.name;
//ext = '.pdf'; // new extension for pdf file
newName = "";
for ( var i = 0 ; docName[i] != "." ; i++ )
newName = newName + docName[i];
newName = newName;
saveInFile = new File(sourceDoc.path + '/' + newName );
return saveInFile;
function exportJPEG()
var exportOptions = new ExportOptionsJPEG();
exportOptions.artBoardClipping = true;
exportOptions.antiAliasing = false;
exportOptions.qualitySetting = 100;
exportOptions.horizontalScale = myZoom;
exportOptions.verticalScale  = myZoom;
// exportOptions.transparency = false;
//exportOptions.saveAsHTML = true;
return exportOptions;Does this help?
I do applescript and javascript is another language but I found this by searching google:
var img = document.getElementById('imageId');
var width = img.clientWidth;
var height = img.clientHeight;
From:
Determining image file size + dimensions via Javascript? - Stack Overflow -
Alert and Monitoring Scripts for Hyperion Applications
Hi Gurus,
Can you please provide me with any customized scripts for automating alert mails and monitoring activities pertaining to Hyperion Applications.
If not, can you please suggest some alternatives where i can get hold of some scripts. Any kind of help is greatly appreciated.
Also can someone please throw some light about the APPMULE and how to procure their services or we can get it for free trial.
Regards,
UdayAny kind of leads on this is really appreciated.
Regards,
Uday -
Script for exporting the Delegated List from Exchange 2007
We are Planing to Migrate the Exchange 2007 Mailbox to O365 by Hybrid deployment.
So i would like to generate the List of delegated access rights on Mailboxes, could you help the script for genetating the delegated list.Hello,
Look into get-Help Get-MailboxPermission
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Needed: Script for exporting iPhoto albums into a file structure
Hello all! I have no experience with AppleScript, but I heard it should be possible to write a script which helps to copy/export a iPhoto album structure into an according directory structure. Does anybody already have such a script?
Thx for any information on that!Thomas,
I have created an AppleScript along with the TextCommands OSAX that duplicates all of the albums in iPhoto to a folder called "Albums" on the desktop. It is quite slow because of the need to open an Info window in Finder to get the path to the original photo but gets the job done.
If you wish it could be modified to provide an ability to select individual albums for duplication. Let me know if you are interested in the latter. I am also seeing whether the album structure can be created directly in a burn folder so that CDs/DVDs can be rapidly burned.
TextCommands is donationware and available at the following location:
http://osaxen.com/files/textcommands1.0.1.html
and should be placed in the following location for the AppleScript to see it:
~/Library/ScriptingAdditions/
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property PathToDesktop : path to desktop as string
property PathToPictures : path to pictures folder as string
property PathToiPhotoLibrary : PathToPictures & "iPhoto Library"
property PathToiPhotoAlbums : PathToiPhotoLibrary & ":Albums"
property PathToCopiedAlbums : PathToDesktop & "Albums"
tell application "Finder"
activate
set theCopiedAlbumsFolder to duplicate folder (PathToiPhotoAlbums as alias) to desktop
set theAlbums to folders of folder PathToCopiedAlbums
set theExtraneousFiles to files of folder PathToCopiedAlbums
delete theExtraneousFiles
repeat with anAlbum in theAlbums
repeat with anAlias in anAlbum
-- need to use GUI access to grab the path to the original photo
open information window of anAlias
tell application "System Events"
tell process "Finder"
-- grab the path to the original file
set PathToTheOriginalPhoto to value of static text 2 of scroll area 1 of window 1
end tell
end tell
close window 1
-- need to remove some extraneous material and convert to AppleScript path format
tell application "TextCommands"
split PathToTheOriginalPhoto using {":", "../"}
set PathToTheOriginalPhoto to item 4 of the result
set PathToTheOriginalPhoto to search PathToTheOriginalPhoto for "/" replacing with ":"
set PathToTheOriginalPhoto to (PathToiPhotoLibrary & ":" & PathToTheOriginalPhoto) as alias
end tell
(* unfortunately there seems to be bug in duplicate file to another folder so must use a copy, , delete the alias, move, and clean up name of copied file sequence to accomplish the equivalent *)
-- duplicate the original in the original album folder
set theCopiedPhoto to duplicate PathToTheOriginalPhoto
-- Delete the alias in the Copied Album
delete anAlias
-- Move the copied photo to the Copied Album
set theCopiedPhoto to move theCopiedPhoto to anAlbum
-- Remove the "copy" from the photo names
set NameOfPhoto to name of theCopiedPhoto
tell application "TextCommands"
set name of theCopiedPhoto to search NameOfPhoto for " copy" replacing with ""
end tell
end repeat
end repeat
end tell</pre>
PowerBook 12" Mac OS X (10.4.6) -
Error running ssodatax script for partner applications
I am running the ssodatax script after creating a partner
application using the user interface in the portal. I get the following
error after the script starts running:
SP2-0310: unable to open file "sso/ssoseedp.sql"
Any thoughts will be appreciated.
Thanks,
SuzanneIt appears that ssodatax in your environment is unable to find the script ssoseedp.sql. This script should be available in plsql/sso directory under the ORACLE_HOME. Please find the script ssodatax and look for the sso subdirectory within the directory that contains ssodatax. If you find ssoseedp.sql in sso, then you can try running ssodatax from the directory that contains it.
-
Shell Script For Export And Import Of Table Records
Hello,
We have production and test instances and for constant testing we need to copy data from production to test or development environment.
At the moment what we do is manually doing export and import table records. At times this could be very tedious as we may need
to do this exercise a couple of times in a day.
Is it a good idea to do this exercise using shell script? If so how could I do this? If this is not a good idea what are the best alternatives?
Any input is highly appreciated.
ThanksAh I see, your company prefers stupidity over efficiency. It would be possible to do it in a controlled environment, wouldn't it? Also the test database would be allowed to select only.
So the non-allowance is just plain stupid.
To the second question: do you use hard-coded passwords in shell scripts?
Don't you think that poses a security risk?
Don't you think that is a bigger risk than a database link, properly set up?
In my book it is!
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
HI there can you tell me why none of my music will play on itunes it just displays a message saying it cannot be located please help it is driving me nuts Jan
-
The problem with display of layers
Good day! Who are we faced with this problem? The video shows all http://youtu.be/4eBDODeM_w8
-
How can I get iCal to NOT print the time of an event? I entered the event as an all-day event and it prints it with a time in front (eg. "11:00AM Meeting"). I want it to just print "Meeting." Please help!
-
Automatic vendor invoice verification
Dear all, We have a scenario where in the client wants the payment to done as soon as GRN is done. Wanted to know is it possible in SAP to post the vendor invoice in background automatically on the basis for GRN. regards, mahesh.
-
Having problems regarding SIM error in Canada.
I'm sure there are a plethora of similar topics posted already, but I am short for time and figured I'd add a heap to the clutter of these forums. My brother purchased an iPhone via the internet recently and when it arrived, he synced his music and a