Add user-entered "Fill-In" values for "Choice" column to the list of available choices?
I have a "Choice" column in SharePoint where users need to select a name for a specific engagement when uploading a document. Since new engagements come up all the time, they need to be able to enter a new value and have that value available
to select as a Choice from the list the next time they upload a document. Is this possible in SharePoint?
Our organization does not allow custom code using Visual Studio, but I do have access to SharePoint Designer.
Hello!
All available choices are specified in the list's schema. I.e. the "Choice" column is designed to operate with predefined values that are set in the schema. Of course, you can every time add a new choice to the list's schema programmatically, but that's a worst
practice.
In your case I suggest to add a list (kind of dictionary) containing all values available to pick out. Then, instead of "Choice" column, use "Lookup" column which points to the dicitionary-list. Once a new value is entered, add a new list item to the dictionary.
Next time this value will be available to pick out.
.Net Follower (http://dotnetfollower.com)
Similar Messages
-
Constraint based on existing values for a column in the table
I have a table as follows
create table MS_FAV_ACCT
NICKNAME VARCHAR2(50) not null,
ACCOUNT VARCHAR2(6) not null,
SUB_ACCOUNT VARCHAR2(3) not null,
DETAIL VARCHAR2(4) not null,
ICID VARCHAR2(3) not null,
SEGMENT VARCHAR2(2) not null,
PRIMARY_ACCT VARCHAR2(1) not null
I want to have a constraint such that there can be only one row with PRIMARY_ACCT ='Y' there could be multiple rows with value 'N'.
I have put a CHECK constraint on this column to check for values Y or N but I want to be able to check this condition too that only one row can have PRIMARY_ACCT as Y .
I saw a thread on this forum regarding using UNIQUE INDEX with case when but didnt understand how I could use it in my case.
Could anyone please help?You only want to have 1 row in the table with an identifier of 'Y'?
That is what i understood, in which case you can use something like this.
ME_XE?create table MS_FAV_ACCT
2 (
3 NICKNAME VARCHAR2(50) not null,
4 ACCOUNT VARCHAR2(6) not null,
5 SUB_ACCOUNT VARCHAR2(3) not null,
6 DETAIL VARCHAR2(4) not null,
7 ICID VARCHAR2(3) not null,
8 SEGMENT VARCHAR2(2) not null,
9 PRIMARY_ACCT VARCHAR2(1) not null
10 );
Table created.
Elapsed: 00:00:00.03
ME_XE?CREATE UNIQUE INDEX MS_FAV_ACCT_U01 ON MS_FAV_ACCT (CASE WHEN PRIMARY_ACCT = 'Y' THEN 1 ELSE NULL END);
Index created.
Elapsed: 00:00:00.01
ME_XE?
ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','N');
1 row created.
Elapsed: 00:00:00.00
ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','Y');
1 row created.
Elapsed: 00:00:00.00
ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','N');
1 row created.
Elapsed: 00:00:00.01
ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','Y');
INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','Y')
ERROR at line 1:
ORA-00001: unique constraint (TFORSYTH.MS_FAV_ACCT_U01) violated -
Pro*C & SQLDA with NULL value for predicate column
Hi: I am using a C program to update a table via a dynamic sql (method 4) and SQLDA. In the update statement predicate, I have place holders (as in TBLCOL=:C000). One of the columns in the predicate contains null values, so I set L[n] = 0, V[n] = pData (which pData[0] = '\0'), *(I[n]) = -1, and T[n] = 5 (for text). I cannot find the row that I know is there.
I cannot change my statement to contain TBLCOL IS NULL, since I don't know ahead of time if I'm looking for rows with null values for this column. The Pro*C manual says that by setting the appropriate *(I[n]) = -1, it indicates to Oracle to simulate the "IS NULL" clause, and update the appropriate rows. In my case, I receive 1403 as SQLCODE when I use TBLCOL=:C000 vs TBLCOL IS NULL. What am I doing wrong? Thank you for your help.You should include these columns as well;
ChangeType (see mxi_changetype)
ValOwner (repository)
UserID ("jobid=<>", usermskey, GUI (mmc), DG (dyngrp), reconcile)
IdAudit (This is the event task (add and del member for assignments)
ParentAuditId (AuditID of parent which last updated the attribute, not consistent)
ChangedBy (Holds the MSKEY of the user which last changed the attribute)
ExpiryTime
to make sure you get a fuller picture of the audit record.
Your selection does not cover all events and descriptions
br,
Chris -
We are having a custom WebADI, containing a field (Employee Name) which is a LOV.
The LOV has ID : Person ID, Meaning : Employee name, Description : Position Name.
There are multiple records with same Employee name but different Person ID.
If I select an Employee in the LOV which has multiple records (through different IDs), I am getting an error in WebADI:
"Enter a valid EMPLOYEE_NAME.
XX is invalid. Enter a valid value for the Mapping column EMPLOYEE_NAME"
The Query for the LOV is correct and is returning correct records.
Any pointers on this issue highly appreciated.Hi,
The problem could be with HR security profile attached to the responsibility from where you are launching the spreadsheet. Check it once.
Thanks. -
Calling a user defined function as default value for a column
Hi All
Can we call a user defined function as default value for a column ??
for example:
create or replace function test1 return number is
begin
return 10;
end;
create table testt
(id as test1,
name varchar2(20));
getting error:
Error at line 1
ORA-02000: missing ( keywordThanks
Ashwani
Edited by: Ashwani on Jan 16, 2012 1:19 AMHi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Database » SQL and PL/SQL which you can get more quick response
Regard
Helios -
Error in MDDataSetBW.GetCellData.Please enter a valid value for character
Hi All,
We have a mandotory prompt on 0FISCPER for Web I Report . The promt is present in the universe.
The query works fine in Dev , but in Quality it shows the following error
A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. Please enter a valid value for characteristic 0FISCPER.. (WIS 10901)
The universe is on BW Query and the BW Query works fine.
Can someone please help on thisThanks Sathish for your input.
We have created report level prompts and facing this issue because we were selecting multiple values for prompts.
Its working fine for single selection. Is there any way to enable multi selection for the particular object at the BW end ?
Or else we have to create the prompts (Single selection) at the universe level.
Regards,
Pranay -
Default value for a column in Table Control
Hi friends, can i set dinamcally a default value for a column in table control?, this column is check type. This default value must appear in empty rows,
thanksADD A MODULE AS Module yyyy In ur PAI.
as
In PAI.
LOOP at itab.
Module YYYY
ENDLOOP.
Module YYYY.
LOOP AT SCREEN.
IF SCREEN-NAME = 'ITAB-VAL.
ITAB-VAL = 'XXXXXXXX' "(DEFAULT VALUE)
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
End module.
*note
make this event work only if the previous column is filled okay.
the display will be in display mode on the screen as screen-input = 0.
see that in the table control u can get the table field for all the rows even though you are processing on some fields .
so what u do is make that particular filed masked(no i/p field and populate the field that will be better instead of populating all the columns okay.
hope this helps you out ,
regards,
vijay. -
Abort Could not determine a value for variable 0DAT from the authorizations
Hi All,
I encountered an error '/ Abort Could not determine a value for variable 0DAT from the authorizations\' when executing my query on a multiprovider in BW 3.5.
Can anyone help me in finding a solutionn to this issue.
Thanks,
Kartik.Hi Kartik,
I am sorry as that note is for NW2004s. Please check if 0DAT variable installed from a business content? if not then I think thats the cause of the problem.
Hope this helps,
Bye... -
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? -
Hide row values for certain column in GRR2
Hi Experts,
Looking for some help in report painter. I need to hide row values for certain columns in report painter. The requirement is I have 5 columns in the report, the 5 th column is the sum of col 1 to 4 and in my row i have a formula setup to sum of values for each column, what i would like to do is for column 1 thru 4 i didnt want to display the total values in row total but i wanted to dispaly value for column 5 in row total. I have been trying my best with putting formula, but couldnt succeed.
Could somebody let me know is there an way to get this addressed.
Thanks in advance
Best Regards,
gjHow was it achieved ? Did you use sections for the columns for which rows needed to be hidden?
I have a smiliar issue of hiding certain rows for few columns. -
To enter two VAT numbers for one vendor in the same country
Hello All,
When we try to enter two VAT numbers for one vendor in the master record and belongs to the same country, the system is not allowing and gives the following message,
"VAT reg.no. already exists for country BE"
Message no. F2140
Kkindly let me know the way to proceed further.
Many thanks in advance.Hello,
Go to OBA5 and switch off the message for online and batch entries.
If the message is already not there in OBA5,
Then go to OBMSG and switch off the same.
Application Area F2
Message No.140
Regards,
Ravi -
Can i use one JSF component's value for other component in the same page.
Can i use one JSF component's value for other component in the same page.
For example
I have a <h:selectBooleanCheckbox id="myChk"> in my jsf page, i want to access its value for another component like:
<h:commandButton disabled="#{myChk.checked}" action="myAction" value="myValue" />
** "myChk.checked" >> I am just asuming "checked" property is available...Bind the checkbox to a UIInput myChk property. Then you can reference this property from the page, e.g.
<h:selectBooleanCheckbox binding="#{myBean.myChk}" onchange="submit();" />
<h:commandButton disabled="#{myBean.myChk.value}" action="myAction" value="myValue" /> -
Default Value for a column in matrix
Hi,
How to set default value for a column in matrix which is of type combo(Yes/No).
The cell has combo in it
ManojHi Manoj,
The column is set as combo. Now you need to tell SBO what constituates a Y or N. In my example my Column "Col6" must display Yes if the RENTED column = 1 and No if the RENTED column = 0. (I'm obviously using a datasource to tie the data to the matrix)
oMatrix = frm.Items.Item("YourMatrixID").Specific
oColumns = oMatrix.Columns
oColumn = oColumns.Item("Col6")
oColumn.DataBind.SetBound(True, "@VIDEO", "U_RENTED")
oColumn.ValOn = "1"
oColumn.ValOff = "0" -
Setting default values for a column
Hi,
I have a table having some default values for the columns. I am using a PreparedStatment to insert into this table. For null values I am using setNull(..) method but the default values given for the columns are not inserted for null values.
eg: INSERT INTO TEST VALUES(?,?);
where TEST table contains two columns col1 and col2 with default values 'AA' and 'BB' respectively. My requirement is to make sure that when null values are specified for the columns then the database default should be picked up. using setNull(..) method doesn't help.
Thanks in advance.
GyanDefault value for a column can be picked up from DatabaseMetaData class.
The below snippet shows that: -
DatabaseMetaData metaData = connection.getMetaData();
ResultSet resultSet = metaData.getColumns(null, null, "TEST", "COL%");
while ( resultSet.next() )
String defaultValue = resultSet.getString("COLUMN_DEF");
String datatype = resultSet.getString("DATA_TYPE");
System.out.println("defaultValue = " + defaultValue);
System.out.println("datatype = " + datatype);
} -
Why is it when I enter a birthday date for a contact as the 12th of November 1993 that the birthday appears as the 11th of November and as the 19th birthday rather than the correct 20th?
Yoor post is very confusing. AOL's iPad magazine is called "Editions" and it's free. "The Daily" is put out by TheDailyHolding and is owned by Rupert Murdoch. You've already posted in another thread where the solution was given. Other people seem to have manged to get unsubscribed.
Best of luck.
Maybe you are looking for
-
System sluggish / can't empty trash / error keeps logging every few minutes
I am having a peculiar problem. I'm on 10.4.10 with an iMac 2.33 GHz Intel Core 2 Duo with 3 GB 667 Mhz DDR2 SDRAM. This afternoon my computer starting acting very slugging, and giving me the spinning colored ball for minutes at a time. It seems to b
-
Experts, This is the first ever ABAP HR program I am writing for Employee travel records... Please look at the below code and be my critics. Also, The pernrs of infotype p0000 are never matching with thoase of p0017. They are different by 1 number. (
-
Hi All I have saved a bank statement by ff67 ,but i dont yet run batch, coild anyone plaease tell me how could i edit closing balance of bank statement . its really very urgent issue
-
Keyboard Turns On and Off every 40-50 seconds
I'm using the aluminium macbook now.. the one with the most basic specs. Lately as I play Warcraft (not World of Warcraft) I find that my keyboard does not respond after about 1 minute or so into the game... then it works for a few seconds and it doe
-
Clob or varchar2 : help needed
Hi all, I am using varchar2(8000) in my package.my lead wants me make it as a clob. Please advise. thanks kt