How to set default for "Horizontal / Vertical Alignment"?
Hi,
is there somewhere a setting to change the default of the "Horizontal / Vertical Alignment" property for an item label? I don't like the "Right" alignment and I have to change it each time when I create a new item.
Thanks
Patrick
http://inside-apex.blogspot.com
Yes, this is one of (many) cases where a Bulk edit feature in the Builder would be very useful. There have been some discussions about this and hopefully the APEX team is considering these for the next release.
Having said that, I frequently find myself taking a full app export and editing the SQL file in my favorite text editor (Vim) and making these little changes.
This is NOT to be done lightly, see the caveats and disclaimers at Re: htmldb application Disabled(on updation of FLOWS_020000.WWV_FLOW_STEP_I
As always, take a backup of the file before modifying it and save it so you can revert back to it if something goes wrong.
Similar Messages
-
Process open items: how to set defaults for the additional selections
Hi FI experts,
Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
I am using transaction F-04 (or F-06 or F-07) to post with clearing.
When processing the open items I can use additional selection parameters. In my case I need to use the document type. I would like to save this selection as a default but this doesn't seem to be possible.
1. it is not possible to save a variant for the processing of open items
2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
Do you see another way to store defaults for the additional selections in open item processing?
Thanks a lot.
DimitriHi,
When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable. Hence SHD0 is not going to help.
As said above, either you can change the additional selection screen parameters, but here again you can't default the value. You can only reduce the number of entries on the screen.
Else you can create a custom transaction code by copying the standard. Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements.
Please check this link:
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
In the above link, in navigation choose clearing -- Specifications for processing open items
If it is a custom transaction then you can default document number.
Regards,
Ravi -
How to set default for ddlb in pcui?
Hi guys,
I wrote some coding in FILL_DROPDOWN_LISTBOX method, and right now I want to set default value for my ddlb field. Anyone have experience for this?Hi Shen,
Create first domain for your DDLB field and when you assign this filed in field grp structure select the checkbox for " Domain values". So that you can see the default values in PCUI screen when launching the page.
Ex field name - suffix ( Create domain for this field and assign values like Mr.Mrs)
Field type - Dropdownlist box
check box - Domain Vals
Regards
Raju. -
How-to set default for selectOneMenu?
With my code as written, the default positionId is "1".
Is it possible to specify a diferent default value? If so, how?
My jsf jsp has the following:
<h:selectOneMenu value="#{editApproverListBB.positionId}" id="positionId">
<f:selectItems value="#{dropdowns.gpaPositionDefSelectItems}"/>
</h:selectOneMenu>
The generated html is (note the generated selected="selected"):
<select id="_id0:positionId" name="_id0:positionId" size="1">
<option value="5">Codes Engineer</option>
<option value="6">Design Director</option>
<option value="8">Design Engineer</option>
<option value="7">Design Manager</option>
<option value="12">Energy</option>
<option value="9">General Manager</option>
<option value="4">Lab Operations Engineer</option>
<option value="15">Materials Lab</option>
<option value="11">Other</option>
<option value="1" selected="selected">PA Director</option>
<option value="3">PA Engineer</option>
<option value="17">PA Engineer - Electrical</option>
<option value="16">PA Engineer - Mechanical</option>
<option value="2">PA Manager</option>
<option value="14">Packaging Lab</option>
<option value="10">Safety Tech Team</option>
<option value="13">Sound Lab</option>
</select>
The SelectItems vector is added to with:
vector.add(new javax.faces.model.SelectItem(id, desc));
The id and desc are predefined values from a database code table (order by desc).
Regards,
Al MalinSet it in the valuebinding of the positionId.
Basic example:
public Integer getPositionId() {
if (positionId == null) {
positionId = new Integer("10"); // specify default value here.
return positionId;
} -
How to set default values for boolean columns
I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
I've tried to set default value at column level:
<Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
<Default>TRUE</Default>
</Field>
and at content type level:
<FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
But in any case, when i create a new item with this content type, default value is applied.
Can anyone tell how to set default values for boolean columns?
Thanks in advance,
Regards,
SergioIn the field definition you can set
<Default>1</Default>
or
<Default>0</Default>
How to set the default value Null? -
How to set default User preferences in Analyzer for all users
How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty
I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH
-
How to set default values in initialization event for select option
Abapers,
I have 3 GL account like 0024831231,0024831238,0024831245.
Please help me how to set default values in select-options ( s_hkont ) in INTIALIZATION event
ThanksSelect option is table <Structure> with fields, low, high, sign & option
you need to append the value into the select option, with appropriate value in low or
example:
S_HKONT-low = <value>
S_HKONT-SIGN = 'I'
S_hkont-OPTION = 'EQ'
append s_hkont.
Default value for select-option also can be added directly in select-option statement.
Regards,
Mahesh -
How to set default time for appointment
When I had snow leopard, the default time for length of an appointment was one hour. I upgraded to Lion and now the default time is many hours. Can't seem to find the area to change the default. Keith
Hello User,
Check this:-
Sasi Nagireddy: How to Set Default Time Zone for all Users in OBIEE?
Thanks,
Sasi Nagireddy.. -
How to set default view for preview?
Every time I open a PDF using Preview I have to set the view to 'thumbnails', then 'two pages up', then adjust the zoom. Complete waste of time.
Anyone know how to set defaults so that it opens in a predictable way?
thanks,I customized my Toolbar to look like the following. Click the middle button that has the 1 circled. That tells Preview to remember to display pages at actual size (100%). Every file that I open now displays at 100%.
-
HOW TO: set anchoredObjectSettings for .palce() object?
Hi, I'm currently working on interesting script for GREP placing, and I'm wondering how I can set anchoredObjectSettings for .palce() object?
for(i=0; i < found.length; i++)
foundElem = new File (myFolder + "/" + found[i].contents);
found[i].place(foundElem); // Placing Ancored Object
// HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object
//anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
//anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
Here you can download example files - script, InDesign file and images, that should be placed into InDesign file with script
Dropbox - GREP placing.zip
PS: I believe this script will be very useful, so if anybody have any ideas/suggestions, and want to help me with further development - this would be great!Hi Kai, this script is still under development, here is updated version attached (now it can also place files/images by file name only, without extension):
#target indesign;
//#include "! Basic functions.jsx"
GREP place files.
This script will ask to select source folder with files to place,
and then, with dialog box (or prompt) [this is not implemented yet, so I use static GREP value while developing]
will ask to type GREP find expresion to search for text placeholder, that need to be replaced with file from source folder we just selected.
TODO: Check how it works with other than image formats
Also, this might be usefull to make anchored frame with column widh, and fit image proportionally
scriptName = decodeURI(File(app.activeScript).name.slice(0, -4)); // detect name of current script without expression
function Alert(msg) // function for native-looking alerts
w = new Window ("dialog", scriptName, undefined, {closeButton: true});
w.preferredSize = [300,75]; // window width and height
w.margins = 15; // window margins
w.orientation = "column";
w.alignChildren = ["left", "top"];
w.add("statictext", undefined, msg);
close = w.add ("button", [0,0,96,20], "OK", {name: "Ok"});
close.alignment = ["right", "bottom"];
close.onClick = function(){exit();}
w.show();
main();
function main()
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
if(app.documents.length == 0)
Alert("No documents are open. Please open a document and try again."); exit();
else
//> START OF doUndoWraper
if (parseFloat(app.version) < 6) // "app.version < 6" if it's running under an earlier version than CS4, as earlier versions don't support "Undo" in scripts
doUndoWrapper();
else
app.doScript(doUndoWrapper, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, scriptName);
//< END OF doUnoWraper
function doUndoWrapper() // this is the wraper function UNDO everything script made by single undo
{// START OF doUndoWrapper
defaultGREPexpression = "(?i)^[a-z0-9 _-]+\\.\\w{2,4}$"; // Paragraph that starts with upper or lower case latin character, digits, spaces, hyphen or underscore, and ends with .extension
var myFilteredFiles;
var myExtensions = []; // initialize array
myExtensions.push(".jpg", ".jpeg", ".png", ".gif"); // raster images
myExtensions.push(".psd", ".tif", ".tiff", ".pdf"); // raster images (layered)
myExtensions.push(".ai", ".eps", ".svg", ".cdr"); // vector graphics
myExtensions.push(".mp3"); // audio files
myExtensions.push(".mp4"); // video files
myExtensions.push(".swf"); // flash files
myExtensions.push(".doc", ".docx", ".rtf", ".txt"); // text documents
myExtensions.push(".xls", ".xlsx"); // table documents
//Display the folder browser.
if(app.activeDocument.saved) // our document was saved before - we suggest to start search for source folder from were InDesign file saved
var myFolder = Folder(app.activeDocument.filePath).selectDlg("Select the source folder with files for placing", "");
else // file was not saved before, so we don't know where to search > suggest to start from Desktop
var myFolder = Folder.selectDialog("Select the source folder with files for placing", "");
if(myFolder) // if folder was selected
//Get the path to the folder containing the files you want to place.
var files = new Object(); // This will assoc array with FILE_NAME => FILE_EXTENSION
if(File.fs == "Macintosh")
myFilteredFiles = myMacOSFileFilter(myFolder);
else
myFilteredFiles = myWinOSFileFilter(myFolder);
if(myFilteredFiles.length != 0) // success: we have found supported files to place
for(i = 0; i < myFilteredFiles.length; i++)
var filename = myFilteredFiles[i].fsName.toString().replace(/^.*[\\\/]/, ""); // now we get only file names with extenstions
var file = [];
file = filename.split("."); // separate file name from file extension
files[file[0]] = file[1]; // write FILE_NAME => FILE_EXTENSION as assoc array
else // error: There is no supported files for placing in specified folder
Alert("ERROR: There is no supported files for placing in specified folder.");
exit();
else // ERROR: we have not choose source folder
Alert("Folder with source files was not specified"); exit();
//Windows version of the file filter.
function myWinOSFileFilter(myFolder)
var myFiles = new Array;
var myFilteredFiles = new Array;
for(myExtensionCounter = 0; myExtensionCounter < myExtensions.length; myExtensionCounter++)
myExtension = myExtensions[myExtensionCounter];
myFiles = myFolder.getFiles("*"+ myExtension);
if(myFiles.length != 0)
for(var myFileCounter = 0; myFileCounter < myFiles.length; myFileCounter++)
myFilteredFiles.push(myFiles[myFileCounter]);
return myFilteredFiles;
function myMacOSFileFilter(myFolder)
var myFilteredFiles = myFolder.getFiles(myFileFilter);
return myFilteredFiles;
//Mac OS version of file filter
//Have to provide a separate version because not all Mac OS users use file extensions and/or file extensions are sometimes hidden by the Finder.
function myFileFilter(myFile)
var myFileType = myFile.type;
switch (myFileType)
case "JPEG":
case "EPSF":
case "PICT":
case "TIFF":
case "8BPS":
case "GIFf":
case "PDF ":
return true;
break;
default:
for(var myCounter = 0; myCounter<myExtensions.length; myCounter++)
var myExtension = myExtensions[myCounter];
if(myFile.name.indexOf(myExtension)>-1)
return true;
break;
return false;
//> START OF GREP expression dialog
w = new Window ("dialog", scriptName+": specify expression", undefined, {closeButton: true});
w.preferredSize = [300,75]; // window width and height
w.margins = 15; // window margins
w.orientation = "column";
w.alignChildren = ["left", "top"];
panel = w.add("panel", undefined, "Find what: (GREP expression)");
if(app.findGrepPreferences.findWhat != "")
grepExpression = app.findGrepPreferences.findWhat;
clearFindWhat = false;
else
grepExpression = defaultGREPexpression; // use default GREP expression
//fgrepExpression = "\\[.+\\]"; // \\< means "begining of the world", and \\> means end of the world;
clearFindWhat = true;
var grepExpression = panel.add ("edittext", [0,0,270,20], grepExpression);
grepExpression.active = true;
panel.add("statictext", undefined, "GREP expression no need for for double \\\\ escaping");
ok = w.add ("button", [0,0,96,20], "Continue", {name: "Ok"});
ok.alignment = ["right", "bottom"];
ok.onClick = function()
findWhat = grepExpression.text;
w.hide();
w.show();
//< END OF GREP expression dialog
if(typeof findWhat !== "undefined") // check we have not left GREP expression field empy
app.findGrepPreferences.findWhat = findWhat; // our GREP that search for image placeholder text;
found = app.activeDocument.findGrep();
for(i=0; i < found.length; i++)
if(found[i].contents.indexOf(".") > -1) // we wroking with file name with extension
foundElem = new File (myFolder + "/" + found[i].contents);
else // we work with file name only, so we need to add file extension manually
found[i].contents = found[i].contents.replace(/[^a-z0-9 _-]/gi, ""); // remove all unwanted characters from file name: only letters, numbers, spcaces, minus and underscores allowed
foundElem = new File (myFolder + "/" + found[i].contents + "." + files[found[i].contents]);
try
placedObj = found[i].place(foundElem)[0].parent; // THANKS TO: Jump_Over for help @ https://forums.adobe.com/message/6912489#6912489
placedObj.anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
placedObj.anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
placedObj.frameFittingOptions.autoFit = true;
placedObj.frameFittingOptions.fittingOnEmptyFrame = EmptyFrameFittingOptions.FILL_PROPORTIONALLY;
placedObj.frameFittingOptions.fittingAlignment = AnchorPoint.CENTER_ANCHOR;
catch(e)
Alert(e);
app.changeGrepPreferences.changeTo = "";
app.activeDocument.changeGrep();
if(clearFindWhat) // clearing only if typed GREP expression manually
app.findGrepPreferences = app.changeGrepPreferences = null; // clear Find/Change preferences once we finished
else
Alert("Find what GREP expression was not specified"); exit();
}// END OF doUndoWrapper
Top part with Windows/Mac filtering was copy-pasted from default InDeign script "ImageCatalog.jsx" as example and modified - I'm not sure if all this stuff is needed, I haven't test if it works the same without those filtering on both OS - if that's not needed - then thanks for tip!
PS: in your findWhat \l{3,4} will not catch .ai files
and what means .source at the end? is that doing necessary escaping, so with it it's posible to write \l instead of \\l -
How to set default reject reason in VA01 (create sales order)
Hi
Everybody can tell me how to set default reject reason for item in sales order.
in our sap system there are a default reject reason as '90'. We want to set it as "Null".
Thanks
HenryHi,
Assigning a default Reason for Rejection is not in standard SAP. I am sure there is some enhancement/user exit which updates the reason for rejection.
Please get the help of an ABAPer, create the sales order in debugging mode and he will find out the logic behind the automatic reason for rejection.
Before that you can find the exits in the include MV45AFZZ for any code related to this.
Hope this helps -
In Transaction code va41 how to set default sales contract start date
Hi ,
In Transaction code " VA41 " how to set default sales contract start date and end date.
Can any one tell me the correct user exit for the same.
Thanks
Basuhi,
u have to use user exits or badis.
use sutable exits mentioned below.
SDTRM001 Reschedule schedule lines without a new ATP check
SDVFX006 User exit: Tax line (transfer to accounting)
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Edited by: katigiri linganna on Apr 28, 2009 12:19 PM -
How to set default values in dialog programming
hi gurus
can anyone suggest me
how to set default values in dialog programming
thanks®ards
kals.it's a bit dirty but I usually just place it in the PBO with a flag for control. It's simple and not too costly i think.
MODULE preRender OUTPUT.
DATA first_time TYPE flag VALUE 'X'.
IF first_time EQ 'X'.
* put your initialization code here
CLEAR first_time.
ENDIF.
ENDMODULE.
-MiR -
How to set default print orientation in oracle reports 6i?
Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?
It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.
-
Plsss help me: how to set default values in html:file and html:radio
Hai,
To set default value to text box i use the following code. It works well.
<html:text property="modifyserverdesc" value="<%= serverDesc%>" styleClass="text" size="38"/>But for file i use the code
<html:file styleClass="file" property="modifyserverimgfile" value="<%= serverImage%>" size="40"/>It doesn't display value. What is problem here?
how to set default selection in <html:radio>.No it won't help.
You can't set a value into an <input type="file"> control at all. The user has to put values in themselves.
The reason behind this is security. If the programmer could put any value they liked in there, you could upload any file at all from a users computer without their intervention. eg C:\windows\system32\passwords.txt
Bottom line: you can't put a default value into the input type="file" control.
And a good thing too ;-)
Maybe you are looking for
-
How to avoid print configuration screen
Hi everybody, I'm executing a program which has to print two smartforms, one followed by the other, but I don't want the printing configuration screen before printing each one, I want it only to appear in the first one and then inherit printing param
-
Font Error Message While Editing a PDF File with Acrobat XI Pro
Hello, I have Acrobat XI Pro running on Windows 8.1 I scanned a PDF File and then went to "Tools - Text Recognition - In This File - Edit - OutPutStyle ClearScan etc etc" and got the file into "Edit Mode". When I replace a "number/digit", the replace
-
B&W G3: Reset mobo/new batt. won't help - no chime, just fans/HD
So I decide to give this old G3 I had one last boost from what was already a snappy machine. - Rev. 1 mobo - Powerlogix 800Mhz 750FX 512k L2 cache (G3) - 1 GB RAM - ATI 9200 128 MB PCI - SIIG ATA card - 2 HDs connected. - USB 2.0 4 port card - FW400
-
File name to be read in mapping - File to SOAP Scenario
Hi all, its a file to soap scenario. i need to send the file name also to target system. how can i get the file name in the mapping? is there a way to read the header information in mapping? Regards, Rashmi
-
Here is my experience with Leopard and Adobe Web CS3. -Installed Leopard on my intel imac without a hitch -Installed CS3 without any problems -Flash CS3 runs great. PS and DW seems to run well too, but havn't got to take PS and DW through all its pac