How to set max size for a custom field ucm11g
Hi,
I need to set maximum length to a custom field created in ucm11g 11.1.1.6
The field's data type is Text and for example i want to limit the length to 10 characters
Any example how to do this ??
Regards
Carlos
Hi ,
If you are looking to limit the number of characters that can be entered to the field from GUI then a global side effect and rule combination will help you achieve it . It would be something like this :
This is done by leveraging Side Effects under Rules - Rules Activation Conditions. You also need to set the Rule as Global for this to be effective across the system.
In there the following has to be set:
<$dDocTitle:maxLength=80$>
<$dDocName:maxLength =50$>
Set the above side effect in the rules and corresponding Profile need to refer it for being able to limit the number of characters that can be entered for Title and Content ID.
Custom metadata too can be controlled in the same way . For example, if metadata "Version" need to limit the number of characters being entered then "Side Effects" to be set is as follows :
<$xVersion:maxLength=50$>
NB - the maxLength parameter is not supported for fields of type Memo. It will only take effect on standard text fields.
Thanks,
Srinath
Similar Messages
-
How to set fixed size for inputfile text field
Hi all,
I am using inputfile component to test file uploading so I created a simple upload page. When I finished upload the file, the input text field will "shrink" its size and change the size to adjust the file name. Is there any way to set a fix size for input text field?
Here is some part of the code:
<af:form id="f1" usesUpload="true">
<af:panelHeader text="File Uploader" id="ph1">
<af:inputFile label="File to upload" id="if1" autoSubmit="true" valueChangeListener="#{fileBean.fileUpdate}"
value="#{fileBean.file}" partialTriggers="if1"
columns="50"/>
</af:panelHeader>
<af:commandButton text="Save" id="cb1"/>
FileBean:
public void fileUpdate(ValueChangeEvent valueChangeEvent) {
RichInputFile inputFileComponent = (RichInputFile)valueChangeEvent.getComponent();
UploadedFile newFile = (UploadedFile)valueChangeEvent.getNewValue();
UploadedFile oldFile = (UploadedFile)valueChangeEvent.getOldValue();
Thanks,
Jerryyou can set columns attribute in af:inputfile. Please see highlighted area i have inserted to you code
<af:form id="f1" usesUpload="true">
<af:panelHeader text="File Uploader" id="ph1" columns = "34" >
<af:inputFile label="File to upload" id="if1" autoSubmit="true" valueChangeListener="#{fileBean.fileUpdate}"
value="#{fileBean.file}" partialTriggers="if1"
columns="50"/>
</af:panelHeader>
<af:commandButton text="Save" id="cb1"/> -
How to set max size for varchar?
Hi, all.
I want to set a type like Varchar(max) in SQL Server.
How to do that in MAXDB?
Thanks.Hi,
sorry, I am not familiar with this feature in SQL Server.
For MaxDB the maximum length for CHAR (n) ASCII is 8000, for CHAR (n) UNICODE is 4000,
for CLOB is 2GB.
There is not chance to restrict these maxima.
If you want to define your 'own' datatype, maybe the concept of DOMAIN (see reference manual --> Data Definition --> CREATE DOMAIN) may help.
If this does not answer your question, please help us by describing this SQL Server-feature.
Elke -
how to set percentage size for layout? for example : VBox,HBox,AnchorPane,......
like HTML
<div width="640px" height="480px">
<div widht="50%" height="60%"/>
<div widht="30%" height="60%"/>
<div widht="20%" height="60%"/>
</div>
-----This is not supported. You can file a feature request at http://javafx-jira.kenai.com
-
How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience?
Hi,
What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped? -
How to set the size for height of iView tray?
Hi,
I have created a ABAP webdynpro component and integrated this comp with iView. Then i integrated iView into Page in portal. That is working fine.
But the size of tray/window which is displayed in the page is very small.
How to increase the height of that Tray/window/iView containing my component?Hi,
By changing the maximum automatic height and Minimum automatic height property of the iview you can set the size for height of your iview.
to do this follow the setps:
goto content administrator -> portal content -> your folder where you created your iview or directly to your iview -> right click -> open -> object,
and now in property category choose appearance-Size from the drop down menu and set the above properties to your required height.
if you want the end user to modify this property set the property to read/write .
*********please reward points if the information is helpful to you******************** -
How to set the status for a customer plan to RELEASED.
Hello all,
I created a program for mass creation of customer plans. But after the creation of a plan, the status should be set to released, so that the user can go about creating the trade promotions for the customer plan. Can anybody tell me how to set the status of a customer plan to RELEASED.
Thanks,
Disha.Hi Clemens,
I am not talking about doing it in the CRM_UI transaction..I created a program..which would create the customer plans based on the planning account data provided. I was succesfull in creating the plans, but I am not knowing how to release it, if only anybody can tell me about a Function module or method, which can help me do this, that would be great
Thanks,
Disha. -
How to maintain change history for a custom field
Hi All,
I have added a new custom field in standard table FKKVKP by appending a new structure to FKKVKP. Now this custom field will appear in transaction CAA2. My requirement is I have to maintain change history for my custom field. In transaction SCDO I have seen that there is an object MKK_VKONT that maintains change history for FKKVKP entries. But I am not aware how to adjust this field so that SAP generates change history for my custom field as well.
Thanks in advance,
VenkatVenkatesh,
DFKKTAXEX
FKKVK
FKKVKP
FKKVK_CORR
I have never used these tables but I have working experience with change docs.
The Z field which you have added should be in the above structures, then you should be able to see that field in the changes.
Of course change document should be set to that field-data element. -
How to set image size for importing photos from a digital camera
I'm using Iphoto 6 and am a novice user of my new digital camera. The camera is set to HQ image quality. Initially when I imported photos from the camera into IPhoto, the images were very large (over 1 meg) and produced good quality 4X6 prints. Now when I import photos from the same camera still set to HQ image quality, the photos are very small (less than 100 kb) after being imported into IPhoto. I think I must have changed some kind of setting in IPhoto that affects the size of an imported image, but I can't find where that is or how to change it back so that the size is not changed when imported. Can someone please help me with this? Thanks!
IMAC G5 Mac OS X (10.3.9) my other computer is a Dell Dimension L500CX running Windows XP ProDave, thanks for clarifying Toad's response for me - I was just too ignorant to connect the dots from his responses. As you said, there were 2 versions - 1 in the original folder and 1 in data; the original folder had the photos that were 1 mb. We must have pulled from that folder previously to print photos not realizing they existed in 2 places. So when we found these thumbnail photos, we just thought they were the real thing. Where can you go to learn about the struction and hierarchy of the photos in terms of what Iphoto does to an image when you import it? Is it in Iphoto help somewhere? Thanks so much for your help with this, and you too Toad for leading me down the path.
If you're getting the size from Finder, I think Old
Toad's question makes a lot of sense. Is the file
you're looking at, somewhere in a folder called
"Data" in iPhoto Library? That 56k sounds about the
right size for a thumbnail.
If you do a search for the image name, both the
actual photo and the small thumbnail are stored with
the same image, e.g. abc.jpg
IMAC G5 Mac OS X (10.3.9) my other computer is a Dell Dimension L500CX running Windows XP Pro -
How to set max length for TextField ?
how do i go about setting a max length for a TextField in jdk1.1.8 ?
a while back there was a topic on this but it was for jdk1.0
please helpwell if it works in 1.0 it will most likely also work in 1.1.8 if it is depricated you can use the -deprication option during compilation to see what is derpricated and what method i advised to use now.
there may however be an easyer way in 1.1.8 but i don't know that.
hope this helps you,
Robert -
How to set record history for a customized form?
i have created a customized form and register it onto apps. everything is working fine expect for the Record History part. while going to Help -> Record History for my customized form it showing error message -
Recird History is not availbale here.
Please suggest if i have to write a specific trigger for setting the record history. also please provide the sample code for the same.
Thanks,
SamSam,
Please see if these threads help.
How to enable record history for custom forms
How to enable record history for custom forms
RECORD HISTORY (or) WHO COLUMNS in R12???
RECORD HISTORY (or) WHO COLUMNS in R12???
Regards,
Hussein -
How to set default size for published SWF in Catalyst CS5.5
I create a 800*600 pixel project in Catalyst CS5.5 and published it as .swf.
But when I opened the published .swf, the default size is smaller than 800*600. I have to resize it by myself.
So is there any method that I can set the default size for published .swf?
Thank you guys! Best regards.
NickWhen you start new Flash Catalyst project, you have the option to enable resizing
This setting is enabled by default.
If you need to change this later, you can go into Modify > Artboard settings.
Now when you publish your project, the width and height will be used instead.
As to manually editting the HTML file, there are 3 tag sets that define the width and height of the project (to handle various browsers). You will need to adjust the values in each of those tag sets. You should only need to do this if you can't republish the file.
Chris -
How to set output size for mp4?
Hello,
I'm having a problem with the export of a Captivate video tutorial.
The output size is w 1440 x h 900 pixels. It comes out looking fine, but as soon as we put it through any other transcoding process as required by our own workflows, the image quality deteriorates.
Now, I've read in this forum that any alteration of the size of the image will cause this deterioration in quality. Effectively, the dimensions of the transcoded output from our own video editors are much smaller than those of the input mp4.
However, we would like to keep that smaller size because it makes for better performances in video streaming.
Is there any way in Captivate to set the dimensions for the mp4 output to be smaller? The 1440 x 900 dimensions are already different from the capture area (the whole screen), so it seems they are independent from the capture settings.
Thanks to anyone who can help.
Elisa Roselli
Technical Documentation Manager
Cambridge Imaging SystemsApple no longer supports Safari for Windows > Apple apparently kills Windows PC support
Use either IE or Chrome. -
How to set the size for Popup with contains a Region
Hi,
i use ADF 11g (JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) with ADF Faces as Frontend.
I have a Region (with many content) in a popup. When I call the popup the size of the popup is very small.
If i set explicit the width and height in px it works, but if I set the width and height in % it doesn't works.
<af:popup id="p1">
<af:dialog id="pw2" type="ok"
partialTriggers="t1:showBook">
<af:region value="#{bindings.bookkeydata1.regionModel}" id="r1"
inlineStyle="width:850.0px; height:600px;"/>
</af:dialog>
</af:popup> It is possible to get the max. height and witdth from the browser-window in a Bean and set it dynamicly to the region?
To set the size in px is not the best solution I think.
kind regards
MartinHi,
Try setting percentages using af:panelStretchLayout inside a popup.
Thanks. -
How to set memory size for JRE
hi all,
Is there anyone know how to set the JRE memory size?
My run my applet application onto browser and I want to increase to size of memory. Such as -ms 128m -mx256m.
please help.
regards,
elvisThe suggestion could be convert applet into WebStart application which is quite similar to applet (at least
it is distributed similar way, resides within sandbox etc) but allows to specify memory size as you requested.
Maybe you are looking for
-
HR-How to use dynamic selection fields in prog ..?
Hii I have written a prog to select data pertaining to details of all employees who belong to a particular country . For this i have provided a dynamic selection field for selecting country (through Selection View).But when i am getting all the
-
TableControl: Check of marked line?
Hi there, I have a problem with programming a table control in a z-transaction. I want to have a table control for selecting a transport request position... So it can only be selected one single line. I have defined a mark-column for this. The table
-
Emails deleted on my iPhone 5c are not auto deleting on my iPad?
if I delete an email on my iPad mini it automatically deletes on my iPhone 5c. However, if I delete an email on my iPhone it does not delete on my iPad. Any ideas? Alan
-
Hi, I downloaded a TV series straight onto my iPad, I now want to delete the series off my iPad but I can't get the series onto my computer. It has the name of the series but no episodes. Help!
-
Apple TV keeps accessing ABC and the three Disney Channel and nothing happens
I can access all the channels except ABC and the three Disney. When trying the accessing ABC or Disney channel window with circulation icon in motion remains forever without giving an error message. But all of the rest channel are accessed in seconds