How to prevent editing a SharePoint site column value from document properties view of a downloaded document?
Hi,
We have created a SharePoint site column with below settings
1. ShowInEditForm - False
2. ShowInNewForm - False
3. ShowInDisplayForm - True
With the above definition, the site column showing only in view properties form not in New and Edit forms. This column is added to a document library and updating this column value will be managed by event receiver code when a document is uploaded.
Till this point, everything is working OK.
But the issue is when we download and open a document from the above document library, under document properties the above column (with value) is visible along with other document default properties and this column value is editable. With this issue,
user is able to set a new value and overwrite the existing value by re-uploading the document.
Could you please let me know how to handle this issue so that user should not be allowed to edit except viewing the value/property (read only)?
Thanks in advance.
Regards
Ramesh
You can set "ShowInFileDlg" property of field to "FALSE". Using this you will not see that field in document properties list
Similar Messages
-
How to get the column values from a BC4J View Table in UIXML?
I am using a default UiXML Application for Order Entry system with Orders & Order Lines & Customers. I have a uix file OrdersView1_View.uix which displays (no updateable columns) all the Orders. How do I get the column value of a selected row in a BC4J Table (example:OrdersId) when a Submit button is pressed using UIXML or Java Classes?
I appreciate any help on this.Hi,
You need to use keyStamp, an example:
<bc4j table name="orders">
<bc4j:keyStamp>
<bc4j:rowKey name="key" />
</bc4j:keyStamp>
Furthermore, you can automatically send the selected row key using the go event handler, so in the handlers section you could send the key to an orderInfo page:
<event name="show">
<!-- forward to the update page, passing
the selected key as a page property -->
<ctrl:go name="orderInfo" redirect="true">
<ctrl:property name="key">
<ctrl:selection name="orders" key="key" />
</ctrl:property>
</ctrl:go>
</event> -
How do I edit the My Sites list in Safari for OSX
How do I edit the My Sites list in Safari for OSX
Click the TopSites icon in your menu bar.
Then follow the instructions here > View and customize Top Sites -
How do I edit my Top Sites Page on Mavericks?
I am trying to figure out how do I edit the top sites page. Before you were able to click an edit button that allowed you to delete and pin the pages but now I can't figure it out. More specifically I want to know who to delete certain pages.
I know this is old, but I just figured I would shed some light on solving the issue I think you are actually speaking of. When I upgraded, I immediately noticed I could not click "edit" in the bottom corner to change the amount of top sites, which slightly irritated me. I tried everything, and eventually thought they had done away with the feature altogether, but then I saw if you click safari (from here, that Bold Safari word in the top left corner of the screen) and choose 'preferences' it will take you to a tab that allows you to modify the number of top sites, allowing me to go back down to 6. Easier to read, easier to make sense of. (A lot of websites cannot be made out when they are '16 top site' size. So this was something I wanted to fix, with my 11" screen.) Hope this helps!
-
How To Concatenate Column Values from Multiple Rows into a Single Column?
How do I create a SQL query that will concatenate column values from multiple rows into a single column?
Last First Code
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14
Result should look like:
Last First Codes
Lesand Danny 1,2,3
Benedi Eric 7,14
Thanks,
David JohnsonStarting with Oracle 9i
select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
from
(select last, first, code, row_number() over(partition by last, first order by code) rn
from a)
connect by last = prior last and first = prior first and prior rn = rn -1
start with rn = 1
group by last, first
LAST FIRST CODES
Lesand Danny 1,2,3
Benedi Eric 7,14Regards
Dmytro -
How Can I get multi column values from dynamic search help?
Hi Gurus;
I'm using dynamic search help in my program.
I want to get multi column values from search help. But I dont know solution for this issue.
I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
How Can I get multi column values from dynamic search help?
Thanks.Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
There are like 3 steps.
You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined (just to keep it straight, i will be putting here) data: It_return type standard table of ddshretval.
Next step is to call the function module. Make sure you have values in IT_VALTAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'FLD2'
value_org = 'S'
tables
value_tab = It_VALTAB
return_tab = It_return
dynpfld_mapping = It_dynpfld
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
perform get_selected_fields tables It_return.
endif.
The code within the perform GET_SELECTED_FIELDS - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
I need a internal table as well as a work area here. like,
data: lt_fields type table of dynpread,
la_fields type dynpread.
field-symbols: <fs_return> type ddshretval.
so fill out LT_FIELDS from the IT_RETURN table
loop at lt_return assigning <fs_return>.
la_fields-fieldname = <fs_return>-retfield.
la_fields-fieldvalue = <fs_return>-fieldval.
append la_fields to lt_fields.
clear: la_fields.
endloop.
Call the FM to update the dynpro
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-repid
dynumb = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
tables
dynpfields = lt_fields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
others = 8.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
good luck -
How to get fourthly row (row4) first column value (col1) in matrix
Hi to all,
In FMS, how to get fourthly row (row4) first column value (col1) in matrix in document.
select $[$38.1.4]
But it display the first row
Please give me hint.
Thank youHi Eric,
FMS may only apply to current row. There is no way to get any other fixed row.
Thanks,
Gordon -
Get column values from list of values programmatically
hi all
how i get column values from list of values programmatically in the
returnPopupDataListener methodIf this answers your question , please close this thread by marking it as answered.
Thanks -
How can i remove a key and its value from properties file
hi all,
i want remove a particular key and associated value from the
properties file. is their any standard way of doing?
thanks inadvance
dayahi,
thanks
i am able to remove the key,
one more question how can avoid storing date and time
in properties file.
thanks
daya -
Join to get 'Note' Column value from CS_SR_NOTES_V - Ramya
Hi All,
what is the join to get the 'NOTE' column value from the CS_SR_NOTES_V while joining to the cs_incidents_all _b table.
One join is joining with the INCIDENT_ID of CS_INCIDENTS_ALL_B
to the INCIDENT_ID of the CS_SR_NOTES_V....but the other column 'ID' of
CS_SR_NOTES_V is to join to which column of CS_INCIDENTS_ALL_B ??????APP_OBJ_CODE='SR'
ID IS JTF_NOTE_ID
APP_OBJ_ID IS same AS incident_id
I don't think you need additional join apart from incident_id since view CS_SR_NOTES_V retrieves only SR notes, and an SR can have multiple notes. -
What is odiref. function to fetch column value from data store
Hi
Please Provide ODI Ref Function to fetch the column value from source/target data store
for ex: i want to fetch deptno from dept table by using odiref function.
Thanks
CnuHi Cnu,
There are no odiRef functions to get data from source/target tables. Rather you can generate such query using odiRef functions and then use such query in the source command text. The retrieved data columns can then be used int eh target side command. You can find more details t Introduction to the Substitution API - 11g Release 1 (11.1.1)
Thanks, -
Error Encountered on Editing the SharePoint Site
Hi All,
I have full control for my SharePoint site and when I try to edit the page .I am facing error as below can any one help me how can I solve this issue.
SamarI had the same problem and here is how I fixed it:
Open your site in SharePoint designer. Under site objects there something called All Files (looks like a folder). Click on that and it will bring up files in the main window. Click on the default.aspx file. It should open the default layout for your site.
Now you should also see all files just beneath site objects on the left side of the page. Look for the file Home.aspx (that is the default name for your site page, you might have something different). Right click that file and go to version history. Find a
version of the file before your change, highlight it and click restore. That will reset the page to the last (of your choice) working configuration.
I could not find an answer to this myself--I'm surprised this has not happened to more people. I was simply editing a title on the page, hit save and then next time I go in the whole page is messed up and I can't edit it due to the error you described above.
related topic:
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/b2f79290-a9cf-4019-8803-f77decf2cd55/getting-sysinvalidoperationexception-error-when-editing-page
Regards
Prasad Tandel -
How do I edit a WordPress site in Dreamweaver?
I found a pretty good article on how to install WordPress to a localhost and run a site made locally on a test server through Dreamweaver (http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt1.html), but it leaves a lot unanswered. Like...
1. Okay, now I've built a WordPress site locally, how do I upload it to my webserver?
(When I upload it to my ftp, it's broken. I suspect that this is because the scripting is set to work on my localhost MySQL & phpMyAdmin and not my webserver's)
2. If I already have a WordPress site up on my webserver, can I download it to my localhost server so I can edit in Dreamweaver and my local machine, and then upload it later to my webserver?
Thank you everyone! Your help is highly appreciated!i am only new at dreamweaver...however, i have spent quite some time with Wordpress and Joomla website building.
Plese note... In an effort to explain my thoughts (which if left in their original state...only make sense to me really) i use the term "articles" below very loosely as Wordpress is not just a blogg platform anymore.
The two platforms serve different purposes. Wordpress is a publishing platform...Dreamweaver is a design program. Dreamweaver on its own, would be a very slow and cumbersome way of publishing articles on a Wordpress site. Dreamweaver on its own, is oriented towards creating the entire Wordpress CMS itself...not the "dynamic content" that goes on the Wordpress Site (dynamic meaning published information that is regularly being added/edited/deleted) .
What you really should be asking is, "how can i edit/develop Wordpress themes in Dreamweaver?" Now that, Dreamweaver can do.
Just slightly off topic, have you thought about building your websites using Adobe Muse instead. Its much faster and a lot simpler to use than dreamweaver and a great drag and drop design interface! Almost no coding required. You wold not be using Wordpress of course, and the content isnt dynamic, but Muse is soooo easy to build sites with!
Could i make a suggestion that i myself have undertaken...Purchase a monthly Adobe Creative Cloud plan(to get access to a heap of Adobe CC programs) + $39US/month Lynda.com tutorial package.
Even if you just use the lynda training for a single month only (you only pay by the month as you go)...you will learn an enormous amount about the Dreamweaver, Muse, Wordpress...and a huge number of other programs.
Best money i have spent in Info Tech in a long time
kind regards
Adam -
How to Add/Edit validation rule for Column in ADf table(Jdeveloper11g)
I am working on Jdevloper11g with ADF table. There i have one column where user can enter numeric value in range 1-1000 .So i have to add validation as such he/she can't enter value apart from 1-1000 range also not any other charcters.
I know on form, if i select attribute from binding and right click i will find one option "Edit Vlaidation rule..." and from there i can change validation rule for perticular field.
But how i can achive same on Column's filed??
Thanks for all help.
JaydeepHi Barnislav,
I tried the way you mentioned but i am getting below exception.
Could not complete Edit validation Rule... Because it would result in an invalid document
oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Element RangeValidationBean not expected [ node = RangeValidationBean ]
<tree IterBinding="searchConfigurationDataIterator" id="searchConfigurationData" ApplyValidation="true">
<nodeDefinition DefName="com.oraclecnm.util.search.SearchAttributeBean">
<AttrNames>
<Item Value="searchAttributeName" />
<Item Value="searchAttributeId" />
<Item Value="weightage" />
<Item Value="isAttributeSearchable" />
</AttrNames>
</nodeDefinition>
<RangeValidationBean OnAttribute="weightage" ResId="pages.SearchConfigurationPageDef.searchConfigurationData_Rule_1" Inverse="false" Severity="Error" Name="searchConfigurationData_Rule_0" OperandType="LITERAL" MinValue="1" MaxValue="1000" />
</tree>
at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3669)
at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3577)
at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2825)
at oracle.bali.xml.model.XmlContext.precommitTransaction(XmlContext.java:1166)
at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1653)
at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1684)
at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2898)
at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:586)
at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:556)
at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:469)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:208)
at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
at oracle.adfdtinternal.model.ide.validation.RuleEditAction.actionPerformed(RuleEditAction.java:35)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -
Restricting user access based on a site column value in a document library.
We have a business requirement to show the contents of a document library based on a value (or values) in the site column (or multiple columns). For example, my document library has a custom site column called confidentiality. This
will have values like restricted, internal and public. Now, based on the AD Group the user belongs to, I should be able to control the access to Restricted or Restricted and Internal files from the document library. We are using SharePoint Online 2010.
Please suggest the best way to achieve this requirement?SharePoint's security model doesn't allow you to specify security based on metadata. You could however create a Sandboxed Solution containing a Feature that registers a custom event receiver on the Document Library. The logic inside this
Event Receiver would fire after editing item properties (ItemUpdated) to apply item-level permissions based on the rules you need.
Make sure to read the article below to determine if fine-grained permissions are suitable in your case:
http://technet.microsoft.com/en-us/library/gg128955.aspx
Maybe you are looking for
-
How to use the same POWL query for multiple users
Hello, I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that "Query 'ABC' is a
-
I have an iPhone 4, and the other person can not hear me when i call, any ideas?
I am originally from SD, but i was in boulder, colorado this weekend and my iPhone 4 worked fine on Saturday. I got up on Sunday and when i would make a call, the person on the other end could not hear me. I thought it might have been something with
-
Loading problem with mod_osso on Apache 2.2.11
Hi, Has anyone ever tried to configure Oracle SSO with a generic Apache server (version 2.2.11 to be exactly) using mod_osso successfully? Icopied a mod_osso.so file from OAS 10.1.3 version to my Apache server location that was running in Red Hat Lin
-
I changed left and right margins to .5 thinking they were in inches and closed the page setup screen the next time I tried to print all I saw was a blank page or no page depending on zoom / shrink to fit ratio set. When I go to page setup all I get i
-
10.6.8 Update - No USB Support - Help!
Early 2008 MBP under warranty for another 34 days. Nothing interesting installed beyond usual Mac, MS and Adobe software. Occassionally run Parallels 6, but not today and not recently. At 9:00 was offered the auto update to 10.6.8. Closed open apps a