Unable to set EnableAttachments property to true on Posts list in Blog web.

Hello!
In my dev environment I've implemented blog site (using the Blog Template) as a sub web of Team Site. Using this approach
I was able to manage and display blog post attachments. But when I'm trying to do the same things on production, the approach doesn't work (error in new/edit form's javascript: object expected). During investigation with SharePoint Manager I found out that
in my dev env EnableAttachments property in the Posts list is set to true (by default), but in the production it is set to false. The trouble is that I'm not able to change the value to true even via object model. I'm using Search Server Express edition.
Thanks in advance

Check this
http://garnetsgems.blogspot.in/2010/02/displaying-attachments-to-sharepoint.html
Thank you for the post! But unfortunately it seems to be not helpful. The post says how to display the Attachments field in data view. I've already implemented that. My trouble is that there is no Attachments field in the list. If I open Posts list as regular
list view and select an item via checkbox, the Attach File ribbon button is grayed. Looks like the attachments functionality is not available at all in the list. I've checked the EnableAttachments property of the list and it is false. I've tried to change
it via power shell and c# but no luck:
SPList list = web.Lists["Posts"];
list.EnableAttachmens = true;
list.Update();
The above code doesn't work. Changes are ignored.

Similar Messages

  • Unable to set configured property "/Initial.initialServices"

    Hi All,
    I am getting following error-
    05:21:52,006 INFO  [STDOUT] Unable to set configured property "/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet
    05:21:52,013 INFO  [STDOUT] **** Error
    05:21:52,064 INFO  [STDOUT] Unable to set configured property "/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /com/progiweb/fbconnect/pipeline/FacebookProfileRequestServlet
    I have checked the config path of both components and the structure of servlet is as below-
    src/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.java  and  src/com/progiweb/fbconnect/pipeline/FacebookProfileRequestServlet.java.java
    And for the properties files I have created them under the path- config/atg/dynamo/servlet/dafpipeline  and  config/atg/dynamo/servlet/pipeline
    Inside these I am keeping the FacebookAuthStatusServlet.properties and FacebookProfileRequestServlet.properties files
    The path of Initial.properties is as below- config/atg/dynamo/servlet/Initial.properties
    The content of Initial.properties is -
    initialServices+=\
      /atg/dynamo/servlet/dafpipeline/FacebookAuthStatusServlet,\
      /atg/dynamo/servlet/dafpipeline/FacebookProfileRequestServlet
    Should I need to keep the both pipeline- dafpipeline and pipeline or only one of them?
    And my pipeline structure is correct or not?
    How to resolve the above error?
    Please help regarding this!
    Regards,
    Prateek

    The content of config/atg/dynamo/servlet/dafpipeline/FacebookAuthStatusServlet.properties is as below-
    $class=com.progiweb.fbconnect.pipeline.FacebookAuthStatusServlet
    $scope=global
    serviceInfo=This servlet handle facebook redirection if it's a new user.
    insertAfterServlet=/atg/dynamo/servlet/dafpipeline/FacebookProfileRequestServlet
    redirect=true
    redirectURI=register.jsp
    profileUpdater=/fbconnect/userprofiling/FacebookProfileUpdater
    loggingDebug=false
    And the content of config/atg/dynamo/servlet/pipeline/FacebookAuthStatusServlet.properties is as below-
    $class=com.progiweb.fbconnect.pipeline.FacebookAuthStatusServlet
    $scope=global
    serviceInfo=This servlet handle facebook redirection if it's a new user.
    insertAfterServlet=/atg/dynamo/servlet/pipeline/FacebookProfileRequestServlet
    redirect=true
    redirectURI=register.jsp
    profileUpdater=/fbconnect/userprofiling/FacebookProfileUpdater
    bypassExtensions=.css,.gif,.jpg,.swf
    loggingDebug=false
    I think this will clear the confusion.
    Regards,
    Prateek

  • Unable to set configured property

    Hi,
    I am getting this following error during my server start up
    **** Error Unable to set configured property "/atg/
    dynamo/servlet/dafpipeline/AccessControlServlet.accessControllers" atg.nucleus.ConfigurationException
    Please help me out.
    Thanks in advance,
    Jk

    did u add ur own accessControlles ?
    It might not have been defined properly.
    follow the below link -
    http://docs.oracle.com/cd/E23507_01/Platform.20073/ATGPersProgGuide/html/s0508configuringtheaccesscontrolservl01.html

  • Unable to set a property

    Hi,
    In my .jnlp file I'm trying to set a system property in the resources section, via:
    <property name="jnlp.aname" value="avalue" />
    and in my code I am using
    System.out.println(System.getProperty("jnlp.aname"))
    and I am only getting 'null' for output.
    I'm using 1.0.1_02, which I see specifies that properties must begin with 'jnlp' or 'javaws' (I've tried both), even though my application is signed. I'm running on W2K.
    Any idea what may be wrong?
    Thanks,
    Beth

    If you app is unsigned, you should be able to set properties beginning with jnlp. as you stated, and
    if signed, you should be able to set any property. Can you post you complete jnlp file so I can see
    what might be wrong, or send it in to the feedback alias at [email protected]

  • Set 'IgnoreUnrelatedDimensions' property to True for a single attribute

    Currenlty the 'IgnoreUnrelatedDimensions' property is set to false for a particular measure group. And because of this the measure value is null againist all unrelated dimension attributes.
    There is a requirement to show the measure values against one of the attributes within unrelated dimension, while it most remain null against all the other attibutes.
    Is this anyway possible ?
    Saurabh Kamath

    Thanks Pritam.
    I think you didn't get my question.
    For Example consider AdventureWorks cube, in case of 'Sales Targets' measure group IgnoreUnrelatedDimensions property is set to false and because of this when we look at the value of '[Measures].[Sales Amount Quota]' against any attribute of 'Geography'
    dimension (unrelated dimension) the result is null. Or even Category attribute from Product dimension.
    If I switch IgnoreUnrelatedDimensions property to "True", I get to see measure values for all the attributes of 'Geography' dimension and attributes from other unrelated dimension as well. But I just want have a look at '[Measures].[Sales Amount
    Quota]' against Country attribute of Geography dimension.
    Answer:
    Inclusion of a simple script command shown below will do the trick.
    Scope([Geography].[Country].Children,[Measures].[Sales Amount Quota]);
    This = [Geography].[Country].CurrentMember.Parent;
    End Scope;
    So [Measures].[Sales Amount Quota] value is seen against Country attribute of Geography dimension even though there is no relationship between 'Geography' dimension and 'Sales Targets' measure group, and IgnoreUnrelatedDimensions property
    of 'Sales Targets' measure group is set to false.
    Saurabh Kamath

  • Setting button property after selecting data from list

    I am not able to set the button property after selecting data from list.
    I would like to say that
    * If a user select an item from list, then user is only allowed to update or delete the data. The update and delete button should be enabled and save button should be disabled.
    * If the users types data manually, then user is allowed only to save this as new entry. The update or delete button at this time should be disabled and only save button should be enabled.
    I want to say that
    In both case, value will be there
    In one case, value will be from list and that is available for update or delete
    in another case, value will be typed from keyboard that is available for save(new entry).
    I do not want to use separate form for update/delete/save new record. I want to use single form for all these operations.
    I am using Form 6i and oracle 8
    Please guide me, I am trying to find this answer for last four days, but could not find the answer. Please help me. Waiting for you reply...

    Thanks Mr. fdellipriscoli,
    But where should this code be written and
    Where the parameter be set to 'YES'
    I think this code should be written somewhere when calling list.
    But bydefault list is called by pressing F9 key. Then where the parameter be set to 'YES' .
    Please help Mr. fdellipriscoli. Waiting for your reply...

  • Unable to set fontFamily property in Business Graphics UI Element?

    Dear All,
    I was trying to set the fontFamily property of BusinessGraphics(BG) UI Element. After setting the fontFamily property for BG UI Element, this property is not getting reflected in the chart in Portal but it is reflected under Chart designer. Is there something which is overwriting the user defined setting for fontFamily? and I am not using any URL for IGS.
    On the other other UI Element properties like ChartType and dimention are reflected in both Chart Designer and Portal.
    Please respond at ur earliest.
    Thanks in advance.
    Regards,
    Nittin
    Edited by: Nittin Garg on Jun 18, 2008 11:33 AM

    Dear Kai,
    Thanks a lot for your response.
    1. According to your suggestion (note 531668), it has been found that XMLCHART is already installed on our Integrated IGS server.
    2. According to note 1028690, it has been found that "IGS 6.40 with patch level 19 or higher" should be available, but in our case we have "IGS 6.40 with patch level 16". Now what I would like to inquire is that does upgradation have any side effects on server?
    For your information I would like to clear you that I want to use Vrinda font (its a standard font), but at present font shown in the chart is Arial.
    Do we need to install some other Interpreter (eg. GFWCHART)? or some thing else is required to show the desired standard font?
    Regards,
    Nittin

  • Unable to set  size and scroll bar to table components in visual web jsf

    Hi Friends,
    Good day all of you,
    my requirement is to display multible tables in the same jsp page with same size.
    if some tables have more columns than other tables then that table need horizontal scroll bar...

    Hi BalusC,
    Good day,
    we didn't use any CSS sheets.is there any other way to set.

  • Set item property to false and true

    when i set item to false and then set item property to true. The item is displayed but its gray out and not enabled. Am i missing something
    Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_FALSE);
    and then
              Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_TRUE);

    Check the Forms online help on Set_Item_Property, near the bottom in the usage notes. Lots of things happen when you set visible to False:
    Setting DISPLAYED to False:
      sets the Enabled and Navigable item properties to False
      sets the Updateable item property to False
      sets the Update_Null item property to False
      sets the Required item property to False
      sets the Queryable item property to False
    So you may need to set more of them back to true in your code when you want to make it re-display.

  • UNABLE TO SET parallel_automatic_tuning=TRUE IN Oracle9i Enterprise Edition

    Hi,
    i am trying to set parallel_automatic_tuning=TRUE . but i am unable to set it.
    My oracle version is as below.
    SQL> SELECT * FROM V$VERSION;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    Please help to resolve this issue.
    thanks
    sivasankar.

    hi i am unable to set the value as true for parallel_automatic_tuning parameter. ,
    SQL> SHOW PARAMETER PARALLEL
    NAME TYPE VALUE
    fast_start_parallel_rollback string LOW
    log_parallelism integer 1
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_execution_message_size integer 2148
    parallel_instance_group string
    parallel_max_servers integer 5
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    NAME TYPE VALUE
    parallel_threads_per_cpu integer 2
    recovery_parallelism integer 0

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • Set ENABLE property

    In my form I have a list item which ENABLE property is set to FALSE.I want to set this property to TRUE if value of another list item is 'File'.I writed this in WHEN-NEW-ITEM-INSTANCE trigger :
    BEGIN
    IF LTRIM(RTRIM(:P_3))='File' THEN
    SET_ITEM_PROPERTY('P_4',ENABLED,PROPERTY_TRUE) ;
    END IF;
    END;
    but did'nt work.
    Please help me!

    You can try to put your code in POST-TEXT-ITEM trigger of P_3.
    If it does not help then also add to your code:
    BEGIN
    IF LTRIM(RTRIM(:P_3))='File' THEN
    -- add this
    SET_ITEM_PROPERTY('P_4',INSERT_ALLOWED,PROPERTY_TRUE) ;
    SET_ITEM_PROPERTY('P_4',UPDATE_ALLOWED,PROPERTY_TRUE) ;
    SET_ITEM_PROPERTY('P_4',ENABLED,PROPERTY_TRUE) ;
    END IF;
    END;
    I hope this will help you.
    Helena

  • Unable to set a top-level property object

    Hey guys
    I've made a little sequence to fetch data from a XML file. In that XML file, there is some informations (entries) (IP addresses, port numbers, etc) about 4 different types of devices(sections are the devices names). The first section of the XML tells me the NAMES of the devices I have to configure. The type of each device is located in the entries of each device. Each device has its own information and I can have more than one device of a type. In teststand, I've created custom data types (containers with empty fields) for each type of device I need.
    I want to dynamically create the devices that the XML file tells me to configure as fileglobal variables and populate them with their own config informations (entries of the XML file). I'm creating new fileglobal of the type I want using PropertyObject step and I'm creating an alias of that fileglobal that I'm passing in parameter to a subsequence who's getting infos from XML. Here, everything is OK.
    The problem occurs when I want to configure 2 or more objects of the same type. At the SetProperty step (where i'm creating the fileglobal variable) teststand gives me the error:
    "Unable to set a top-level property object to another object. Error accessing item 'Parameters.DeviceToInitStruct'."
    Is there any ways to avoid that problem and creating to variable of the same type ?
    thanks

    Hi
    I finally got rid of that problem.
    Instead of using a PropertyObject.Clone step, I used a statement who's just copy the "MasterObject" into a "CloneObject" and i'm working with that copy. So the sequence can now create devices of the same type without any conflict with the first device.
    i'll post here a short example to show how i did... maybe it'll be useful for someone...
    regards

  • Unable to set the colorIndex Property of the Interior Class

    HI
    Iam trying to Update the Accound Dim with New Property 'CostAcc" IN SAP BPC.
    i entered the text and lenth of the property then i clicked on Modify The Dim Property. then its giving a warning message"Unable to set the colorIndex Property of the Interior Class"
    BPC Experts pls send me a  sollution
    Thanks in advance
    Regards
    NarsiP
    SAP BPC Consultant
    OutLookSoft SA

    Did you process your account dimension before to add you property?
    Are you sure that your account dimension was working before to apply your modification?
    Did you add just one property ore more properties?
    Did you delete any existing properties?
    Did you try to do modify account dimension without adding any porperties to see if that dimension is fine?
    Regards
    Sorin Radulescu

  • Error Deployer BEA-149231 Unable to set the activation state to true

    Hi Friends ,
    We are using weblogic 10.3.5.0, one of the deployment module is in failed status.
    In the application logs we could see the following error
    ERROR Util: Initial Spring Application Context creation failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is javax.naming.NoPermissionException: User &lt;anonymous&gt; does not have permission on comp.env.cpt to perform lookup operation
    in the weblogic server logs we could find the follow error
    <24-Jan-2013 08:47:43 o'clock CET> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.webapp.StartupServletContextListener failed: java.lang.ExceptionInInitializerError.java.lang.ExceptionInInitializerError
    at com.db.cpt.biz.Utilities.Util.<clinit>(Util.java:114)
    at com.db.cpt.web.listener.MyPhaseListener.<clinit>(MyPhaseListener.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    Truncated. see log file for complete stacktrace
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocati
    on of init method failed; nested exception is javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.xxx to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    >
    <24-Jan-2013 08:47:43 o'clock CET> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'xxx'.
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    Can you please advise us how can we resolve this issue which with i am struggling
    Raja

    Kumar,
    thanks for the update.
    we fixed the issue,
    for a particular user we didnt add his membership in a group in security realm, we added the user to a particular group, and then restarted weblogic, and deployed the module, and then status of deployment becomes successful.
    Raja

Maybe you are looking for

  • Locks and Isolation Levels

    Hello, I'm new to the Oracle environment and have just started using PL/SQL on Oracle 8i. Where can I find info on how Oracle locks data and how transaction isolation levels are used? We've still not recvd our manuals so please any replies referring

  • Simple updates in EJB 3.0

    Hello, Is there an easy way to update an entity bean that wasn't fetched via a find by PK query, i.e. it's just marshalled from a remote payload in EJB 3.0? merge() does not seem to work with out you using the marshalled PK to fetch it and then manua

  • Returning XML to client from web service

    Hi, I am new to developing web services using JAX_RPC. I am trying to return a xml document to the client from the web service. My Server implementation is as follows: Interface: public interface OntoIF extends Remote public DataHandler ontoCompare (

  • Poor iTunes playback on HP MIni 110-1125NR

    Has anyone found a solution to the playback problems using iTunes on a the HP Mini netbooks? I've gone to both HP and Microsoft downloading any and all plug-ins/updates that relate to audio/video playback/acceleration. I continue to get lag, stutteri

  • Free Keynote templates

    Free Keynote templates can be found at the following url: http://etc.usf.edu/presentations/ David Moore eMac/MacBook Pro/   Mac OS X (10.4.9)