Creating iFS content type require more then 4 values to be set for 1st attribute

We get the following error:
exception in thread "main" oracle.ifs.common.IfsException: IFS-30002: Unable to
create new LibraryObject
java.sql.SQLException: ORA-01400: cannot insert NULL into
("IFSSYS"."ODM_ATTRIBUTE"."SETTABLE")
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java:1483)
at
We were happily creating, updating and deleting various iFS content types by
declaring 'n' attributes and then setting 3 or 4 of these properties of each
one of the 'n' attributes of every content type i.e.
//First attribute of the content Type
AttributeDefinition adef1 = new AttributeDefinition(ifsSession);
//First property of the first attribute of content Type
adef1.setAttributeByUpperCaseName(Attribute.NAME_ATTRIBUTE,
AttributeValue.newAttributeValue("FIRSTNAME"));
//Second property of the first attribute of content Type
adef1.setAttributeByUpperCaseName(Attribute.DESCRIPTION_ATTRIBUTE,
AttributeValue.newAttributeValue("The firstname of the
Employee"));
//Third property of the first attribute of content Type
adef1.setAttributeByUpperCaseName(Attribute.DATATYPE_ATTRIBUTE,
AttributeValue.newAttributeValue
(Attribute.ATTRIBUTEDATATYPE_STRING));
//Fourth property of the first attribute of content Type
adef1.setAttributeByUpperCaseName(Attribute.REQUIRED_ATTRIBUTE,
AttributeValue.newAttributeValue(true));
//Fifth property of the first attribute of content Type
//We are forced to set this up. Otherwise we get above error.
//However only required for first attribute of the content type.
//Rest of the attributes (n-1) are fine.
adef1.setAttributeByUpperCaseName(Attribute.SETTABLE_ATTRIBUTE,
String.valueOf(true));
//Sixth property of the first attribute of content Type
//We are forced to set this up. Otherwise we get above error.
//However only required for first attribute of the content type.
//Rest of the attributes (n-1) are fine.
adef1.setAttributeByUpperCaseName(Attribute.UPDATEABLE_ATTRIBUTE,
String.valueOf(true));
codef0.addAttributeDefinition(adef1);
The other attributes are fine. We only need to set 3-4 properties of these
attributes and could get away with it. Only the first attribute is causing the
above problem. For other attributes of the content type, we are still setting
only the first three/four properties
If you look at the definition of iFS internal table "odm_attribute", apart from field "id", which is an implicit column, there are 12 columns which are NOT NULL.
This means for every iFS attribute it must be required to set the values
of these 12 properties. However like most of the examples in iFS doco,
you could get away with setting 3-4 properties explicitly. I am sure some
of them are set implicitly by iFS.
The problem is, sometimes these implicit setting of properties by iFS is
not working and its complaining about them. The ones which are causing
problems are SETTABLE and UPDATEABLE.
We are forced to set them explicitly. Hence the inconsistency.
The problem is, what is the reason for iFS setting "SETTABLE" and
"UPDATEABLE" implicitly for some attributes and requiring us to set them
explicitly?
Thanks and Regards

hi srini,
i have includedthe char in rows. i want you to explain in detail how to use these values in the if then else statement in query.
i have created a calculated key figure 2= (formual variable =1 & keyfig a =0)* keyfig1kefig2 +not(formual variable =1 & keyfig a =0)keyfig2 *calculated keyfig1.
so this formula variable of replacement path have ref. to then char. and with what value should it replace, key, name, external char or attribut etc so that i should get the values of the char from 1 to20.
i donot to repalce with the attribute. i just want the char. values and not thier attributes (1. description 2. the second attribute has the values say abc1,efg2,ghi3 for respective charteristic values.
ie
char value               desc                 2nd attrib
1                            hi                     abc1
2                            bye                  defg2
3                            ciao                  ghi3

Similar Messages

  • Collection which stores more then 2 values

    Hi there ,
    How to create a collection which stores more then 2 values of different types like int,string,date etc and retrieve each elements separately.Will any one help me
    Thank u
    Ramya

    Go to this page:
    http://java.sun.com/docs/books/tutorial/
    and read the tutorial on Collections.

  • Content types, Required site columns, How are they supposed to work?

    Hi,
    I have 2 issues:
    I created a Folder level content type with many Required site columns. I was hoping that when I create a new folder the new content type screen will pop up and I must enter all the required properties (metadata) for this new folder.
    Issue 1) But it didn't work that way.  It just required me to enter the name of the folder and the folder was created.
    Issue 2) I then went to Edit Properties to enter enter all the required metadata.  I would like to have my newly created content type to be the default.  So that when I open up the Edit Properties the popup screen would defalt to my new
    content type.  But it defaults to "Folder" Content type.   even though in liberary setting, My new content type was the only one check "visible" and set as default.
    Can someone please help? Am I missing something?
    Thanks!

    I don't think you can do what you want to do using only out of the box features. A few notes:
    Users will need to click the New Document dropdown in the ribbon to select your new folder content type. (I.e. Don't click New Folder)
    The "default" option in the content type list is to pick the default content type to be selected when you click the New Document button. (I.e. it won't impact the New Folder ribbon button)
    The ribbon button for New Folder is hard coded to use the built in folder feature.
    You may want to look into the 2010 Document Set feature to create folders with metadata. It will do what your custom content type does and a lot more.
    Possible solutions:
    Create JavaScript hack that changes the New Folder link in the ribbon to go to the New Document link for your custom content type.
    Create a Visual Studio Feature to hide the New Folder button and add a new New Folder button that points to the New Document link for your custom content type.
    Leave the existing New Folder button there and create Feature to add a new custom button for your content type.
    Mike Smith TechTrainingNotes.blogspot.com
    my SP customization book

  • Creating Custom Content Types

    As the title suggests,  does anyone know how to create Custom Content Types in Adobe Livecycle Content Services ES?  I have looked far and wide across the www, and haven't had any luck with a straight forward, easy to follow, tutorial on the subject.  I have seen it for Actions and Aspects, but not Content.
    Thank you in advance,
    Alex

    Marc,
    Thanks for your response.  I've spent the past couple of days trying to get it to work, but I still cannot figure it out.
    According to all documentation I have found, I have modified the files I thought were the same as the Alfresco files:
    C:\...\jboss\server\all\deploy\contentservices.war\WEB-INF\classes\alfresco\extension
                   + .\liveCycleContentModel.xml
                        Added the <types> tag above the <aspects> tag, and created my type as specified online and also in a book
    Then I copied the web-client-config.xml to the extension folder and renamed as web-client-config-custom.xml and added the code to Content Wizards and Action Wizards to display it in the web ui.
    Am I missing anything?  When I re-package the .war file and redeploy/restart JBOSS, my localhost:8080/contentspace is completely broken.  no login in or anything but workspace is still in tact.
    Thanks for any further help,
    Alex

  • How to Create Custom Content Type with 100 site columns ?

    Hi EveryOne,
    i have one requirement to create custom conten types in sharepoint 2013 as follows.
    1. Create a content type with 100 site columns ( in this 100 site columns includes 10 mms feilds and 10 lookup fields).
    2.when we deploy the content type in other server if already the same content type existing in the server it should be upgrade the existing content type.
    Please advise how do develop the solution ( using power shell script or visual studio with event receiver or xml file)
    Regards,
    Srinivas

    Try below:
    http://www.mindfiresolutions.com/Add-Columns--Fields-Programmatically-to-a-SharePoint-List-282.php
    using(SPSite
    oSPsite = new SPSite("http://Web-URL"))
        oSPsite.AllowUnsafeUpdates =
    true;
    using (SPWeb oSPWeb = oSPsite.OpenWeb())
            oSPWeb.AllowUnsafeUpdates =
    true;
    /* get the SPList object by list name*/
    SPList lst = oSPWeb.Lists["EmpList"];
    /* create a Numeric field for EmpID */
    SPFieldNumber fldEmpID = (SPFieldNumber)lst.Fields.CreateNewField(
    SPFieldType.Number.ToString(),
    "EmpID");
            fldEmpID.Required =
    true;
            fldEmpID.DisplayFormat =
    SPNumberFormatTypes.NoDecimal;
    /* create a Text field for Name */
            SPFieldText fldName = (SPFieldText)lst.Fields.CreateNewField(
    SPFieldType.Text.ToString(),
    "Name");
            fldName.Required =
    true;
            fldName.MaxLength = 50;
    /* create a Date field for Dob*/
    SPFieldDateTime fldDob = (SPFieldDateTime)lst.Fields.CreateNewField(
    SPFieldType.DateTime.ToString(),
    "Dob");
            fldDob.DisplayFormat =
    SPDateTimeFieldFormatType.DateOnly;
    /* create a Currency field for Salary */
            SPFieldCurrency fldSal = (SPFieldCurrency)lst.Fields.CreateNewField(
    SPFieldType.Currency.ToString(),
    "Salary");
            fldSal.Currency =
    SPCurrencyFieldFormats.UnitedStates;
            fldSal.DisplayFormat =
    SPNumberFormatTypes.TwoDecimals;
    /* add the new fields to the list */
            lst.Fields.Add(fldEmpID);
            lst.Fields.Add(fldName);
            lst.Fields.Add(fldDob);
            lst.Fields.Add(fldSal);
    /* finally update list */
            lst.Update();
            oSPWeb.AllowUnsafeUpdates =
    false;
        oSPsite.AllowUnsafeUpdates =
    false;
    If this helped you resolve your issue, please mark it Answered

  • Can't create a Content Type List Item on Visual Studio 2010

    Can't create a Content
    Type List Item on Visual Studio 2010

    Hi,
    According to your description, my understanding is that you want to select the specific content type in new item form.
    This is a default behavior. The "Add new item" link uses the default content type and does not display a dropdown list to change that value. This behavior is hard coded into the control and can't be changed.
    Here are some similar threads for your reference:
    https://social.technet.microsoft.com/Forums/en-US/de60f2a1-df91-4a67-a606-02a593c977b4/choose-a-content-type-when-creating-a-new-list-item?forum=sharepointcustomizationlegacy
    http://sharepoint.stackexchange.com/questions/13281/content-type-field-missing-from-new-form
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • How to create external content type in sharepoint for salesforce account

    Can anybody help me on How to create external content type in sharepoint for salesforce account.
    I wanto upload documents to a document library which should sync with accounts in saleforce.
    thanks in advance

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • Set more then 3 values in link

    Hello,
    i am using oracle 10g apex 3.2.
    I created a interactive report,with shows 5 columns in page 1.
    Now 2nd column i made it as link.
    On clicking that link it goes to page 3.
    When i click the link i want to set few items of page 3 with page 1 values.
    But in the column link(report attributes) of the interactive report i could see only 3 items can be set.
    What to do if i need to set more then 3 values?
    For More info on what i am doing---------
    Page 3 is having a form whose values i need to fill from page 1.A user need to click the link i.e. col2 on page 1 and then it goes to page 3 and could be able to see some values in the form of page 3 already filled.I want to send total 6 values.
    Thanks
    Swapna

    Hi,
    Option 1>>>
    When you click link on interactive report , send the primary key to page 3 which contains the form.
    In page 3 add a on load , before header process which will populate the other items based on the primary key value..
    Option 2>>>
    You can enter comma separated item names / values in the link tab of interactive report..
    eg. Name Field you can P1_ITEM1 , P1_ITEM2 , P1_ITEM3 and in value field you can enter the corresponding values eg.. #field1# , #field2# , #field3#
    Regards,
    Shijesh
    Please reward the answer if was helpful/correct

  • How to Select More then 1000 values in Multi-Select prompt!!!

    Hello Users,
    I have Scenario where i have to pass all the values from prompt to report and the values in the prompt are coming from session variable, so whatever value access user has the report will run with that only...
    Now the question is that Multi-Select Prompt is not able to take more then certain values, so is there any way that we can increase the limit for selected values??
    in-short how to increase the limit for selected values in multi-select prompt??
    Thanks In Advance!!!

    Hey David,
    The Scenario is like, we have data level security on "Unit" attribute. now based on the user selection when user logs in he should able to see the report only for those units which he/she has access.
    in total we have 1800 units available, now for 5-10 units access is fine, but the question will arise when user will not have only some units access from 1800 units.
    because report will not take those values from the multi-select prompt reason is that multi-select prompt is not able to take more then certain values in selected side.
    now in multi-select until-unless u have data coming in selected side those values will not pass. so i have kept the sql in default for that prompt.
    so when user logs in he will able to see those values in selected side for the multi-select prompt, but when values increase from some level it's going automatically in un-selected side.
    i want everything on selected side of multi-select prompt.
    Let me know if you need any further details.

  • Charts - More then 15 value in X axis

    Hi guys,
    I couldn't find how to show more then 15 value in X axis in 2D column chart. It only shows 15 values in default. I searched Chart xml but i couldnt find that which code block i need to change..
    Could you pls help me.?
    Thanks

    I just find out.
    There is an option to set Maximum Rows. It is on the series query editing page under the query text region..
    Thnks

  • I have an iPhone 5s and i've been noticing that my phone would go into Do Not Disturb mode at night. So I looked under settings, and there was a profile labeled "Consumer Input" and then I noticed DND was set for 10pm-7am. Does anyone know what caused it?

    I have an iPhone 5s and i've been noticing that my phone would go into Do Not Disturb mode at night. So I looked under settings, and there was a profile labeled "Consumer Input" and then I noticed DND was set for 10pm-7am. Does anyone know what caused it?

    You downloaded a profile from somewhere. If it's not one you want or need, delete it.

  • Create new content type...

    Greetings all,
    I am trying to include the Word, PowerPoint and Excel content types in my document libraries so that when a user clicks the "New" drop down they can select which document they want to create.  However I seem to be running into some problems
    getting this done.  I have created the Site Content Type and have also uploaded a template to be used for the document.  I have also gone into the library settings and have added the content types to the document library and set it to open the documents
    in the browser rather than in the client application.  Using Internet Explorer or Mozilla Firefox when creating the new document I am prompted if I want to open the corresponding application, it does not open the new document in the browser.
     Using Google Chrome I am prompted for a name for the new file and when I click OK I receive this error message:
    "Invalid template URLhttp://sharepoint-dev/Documents/Forms/New Word Document/WDTMPL.DOTXThe template must exist in the Forms directory of this document library. Create the
    template in the Forms directory, and then re-type the Web address. Note that you cannot move or copy a template into the Forms directory."
    Any thoughts or ideas?
    Thanks
    Ryan 

    Here is what shows up in the log when trying to create a new Word document (hopefully it makes sense):
    07/25/2011 10:45:28.30 w3wp.exe (0x0DA0)                      
    0x1910
    SharePoint Foundation         Logging Correlation Data      
    xmnv Medium  
    Name=Request (POST:http://sharepoint-dev:80/Divisions/ASD/_layouts/CreateNewDocument.aspx?id=http://sharepoint-dev/Documents/WDTMPL.DOTX&SaveLocation=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%20Documents&Source=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%2520Documents%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1)
    d26f4b74-fe13-481c-9f72-0fd006902be9
    07/25/2011 10:45:28.31 w3wp.exe (0x0DA0)                      
    0x1910
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (Request (POST:http://sharepoint-dev:80/Divisions/ASD/_layouts/CreateNewDocument.aspx?id=http://sharepoint-dev/Documents/WDTMPL.DOTX&SaveLocation=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%20Documents&Source=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%2520Documents%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1)).
    Execution Time=2.50925746149301 d26f4b74-fe13-481c-9f72-0fd006902be9
    07/25/2011 10:45:28.31 w3wp.exe (0x0DA0)                      
    0x128C
    SharePoint Foundation         Monitoring                    
    nasq Medium  
    Entering monitored scope (Request (POST:http://sharepoint-dev:80/Divisions/ASD/_layouts/CreateNewDocument.aspx?id=http://sharepoint-dev/Documents/WDTMPL.DOTX&SaveLocation=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%20Documents&Source=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%2520Documents%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1))
    07/25/2011 10:45:28.31 w3wp.exe (0x0DA0)                      
    0x128C
    SharePoint Foundation         Logging Correlation Data      
    xmnv Medium  
    Name=Request (POST:http://sharepoint-dev:80/Divisions/ASD/_layouts/CreateNewDocument.aspx?id=http://sharepoint-dev/Documents/WDTMPL.DOTX&SaveLocation=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%20Documents&Source=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%2520Documents%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1)
    d380d046-cea0-4484-a42a-55fcaec9dab7
    07/25/2011 10:45:28.32 w3wp.exe (0x0DA0)                      
    0x128C
    SharePoint Foundation         Logging Correlation Data      
    xmnv Medium  
    Site=/ d380d046-cea0-4484-a42a-55fcaec9dab7
    07/25/2011 10:45:28.33 w3wp.exe (0x0DA0)                      
    0x11E4
    SharePoint Foundation         Topology                      
    e5mc Medium  
    WcfSendRequest: RemoteAddress: 'http://sharepoint-dev:32843/b44120536e3e41c5b8056b2ce95a8a3a/ProfilePropertyService.svc' Channel: 'Microsoft.Office.Server.UserProfiles.IProfilePropertyService' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties'
    MessageId: 'urn:uuid:f7e044c1-5283-4719-ac0e-37a0dfd1b75b'
    07/25/2011 10:45:28.34 w3wp.exe (0x0508)                      
    0x0E84
    SharePoint Foundation         Topology                      
    e5mb Medium  
    WcfReceiveRequest: LocalAddress: 'http://sharepoint-dev.rld.state.nm.us:32843/b44120536e3e41c5b8056b2ce95a8a3a/ProfilePropertyService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties'
    MessageId: 'urn:uuid:f7e044c1-5283-4719-ac0e-37a0dfd1b75b'
    87f1f985-4628-4f5a-a778-0685e6e1dd43
    07/25/2011 10:45:28.34 w3wp.exe (0x0508)                      
    0x0E84
    SharePoint Foundation         Monitoring                    
    nasq Medium  
    Entering monitored scope (ExecuteWcfServerOperation)
    87f1f985-4628-4f5a-a778-0685e6e1dd43
    07/25/2011 10:45:28.35 w3wp.exe (0x0508)                      
    0x0E84
    SharePoint Foundation         General                      
    8kh7 High    
    Cannot complete this action.  Please try again.
    87f1f985-4628-4f5a-a778-0685e6e1dd43
    07/25/2011 10:45:28.35 w3wp.exe (0x0508)                      
    0x0E84
    SharePoint Foundation         General                      
    8kh7 High    
    Cannot complete this action.  Please try again.
    87f1f985-4628-4f5a-a778-0685e6e1dd43
    07/25/2011 10:45:28.35 w3wp.exe (0x0DA0)                      
    0x128C
    SharePoint Foundation         Runtime                      
    tkau Unexpected
    System.ArgumentException: Value does not fall within the expected range.    at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)     at Microsoft.SharePoint.SPWeb.GetFile(String
    strUrl)     at Microsoft.Office.Web.CreateNewDocument.Pages.CreateNewDocument.CreateDocumentFromListTemplate(String fileName)     at Microsoft.Office.Web.CreateNewDocument.Pages.CreateNewDocument.ButtonOkClick(Object sender, EventArgs e)
        at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String
    eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBe...
    d380d046-cea0-4484-a42a-55fcaec9dab7
    07/25/2011 10:45:28.35* w3wp.exe (0x0DA0)                      
    0x128C
    SharePoint Foundation         Runtime                      
    tkau Unexpected
    ...foreAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    d380d046-cea0-4484-a42a-55fcaec9dab7
    07/25/2011 10:45:28.36 w3wp.exe (0x0508)                      
    0x0E84
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=17.1270370954968
    87f1f985-4628-4f5a-a778-0685e6e1dd43
    07/25/2011 10:45:28.36 w3wp.exe (0x0DA0)                      
    0x128C
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (Request (POST:http://sharepoint-dev:80/Divisions/ASD/_layouts/CreateNewDocument.aspx?id=http://sharepoint-dev/Documents/WDTMPL.DOTX&SaveLocation=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%20Documents&Source=http%3A%2F%2Fsharepoint%2Ddev%2FDivisions%2FASD%2FShared%2520Documents%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1)).
    Execution Time=46.808463086789 d380d046-cea0-4484-a42a-55fcaec9dab7

  • Application Error while activating the feature - for creating list content type, list definition and list instance

    Dear all,
    I am getting application error while enabling the feature. if any body can point out the issue - that will be helpful.
    content type
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Field ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns"/>
    <!-- Parent ContentType: Item (0x01) -->
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9"
    Name="TrainingCourses"
    Group="Training Content Types"
    Description="Defines a Course"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    List definition
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="TrainingCourses"
    Type="10100"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="410"
    DisplayName="TrainingCourses"
    Description="Training Courses List Definition"
    Image="/_layouts/images/itgen.png"/>
    </Elements>
    List instance
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="TrainingCourses"
    OnQuickLaunch="TRUE"
    TemplateType="10100"
    Url="Lists/TrainingCourses"
    Description="Training Course List Instance">
    </ListInstance>
    </Elements>
    schema
    <?xml version="1.0" encoding="utf-8"?>
    <List xmlns:ows="Microsoft SharePoint" Title="TrainingCourses" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/TrainingCourses-LD_TrainingCourses" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
    <MetaData>
    <ContentTypes>
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9" Name="TrainingCourses" Group="Training Content Types" Description="Defines a Course" Inherits="TRUE" Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" />
    </FieldRefs>
    </ContentType>
    </ContentTypes>
    <Fields>
    <Field ID="{4c1b0a21-fce0-4cfe-8742-a250672afe4f}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns" />
    </Fields>
    <Views>
    <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="LinkTitleNoMenu">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="Modified" Ascending="FALSE">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
    </ParameterBindings>
    </View>
    <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="Attachments">
    </FieldRef>
    <FieldRef Name="LinkTitle">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="ID">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    </ParameterBindings>
    </View>
    </Views>
    <Forms>
    <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
    </MetaData>
    </List>
    I am applying the feature to SPWeb level.
    cheers
    Sathya

    redeployed a new solution; since I was getting this error. I would have done typo errors etc.
    https://naveengopisetty.wordpress.com/2011/09/10/error-occurred-in-deployment-step-activate-features-invalid-file-name-the-file-name-you-specified-could-not-be-used-it-may-be-the-name-of-an-existing-file-or-directory-or-you-may-not-have-pe/
    Cheers
    Sathya

  • Can't create external content type

    Hi,
    I'm trying to create an ECT in Sharepoint Designer for my Office365 environment. I have an E3 license, so I should be alble to create one. I need it to create an external list from an Azure SQL DB.
    In Sharepoint designer, the button for a new ECT is available, but if I click the button nothing happens. I have an SSS-object with the credentials already.
    I do not know why the button is not reacting. Hope someone knows.
    Jordy

    Make Sure you have done all these steps before you start creating an external content type..
    Prepare SQL Server   A database administrator needs to provide permissions to make sure that that the right people have access to the data and that the data does not end up in the wrong hands. The database administrator must also
    create a SQL Server account that has db_owner permission. The database administrator might also want to create specific tables, views, queries, column aliases, and so on to limit the results to just what is needed and to help improve performance.
    Configure SharePoint services   An administrator must activate Business Connectivity Services (BCS) and the Secure Store Service.
    Configure the Secure Store service   An administrator must determine the best access mode for the external data source, create a target application, and set the credentials for the target application.
    Configure Business Data Connectivity Services   An administrator must make sure that the user who creates the external content type has permission to the Business Data Connectivity (BDC) metadata store and that appropriate users
    have access to the external content type on which the external list is based.
    Be sure Office 2013 is ready to use   To synchronize external data with Office 2013 products, you must use Windows 7 or a later version, and make sure that the Office installation option for Business Connectivity Services (BCS) is
    enabled (this is the default). This option installs the Business Connectivity Services Client Runtime which does the following: caches and synchronizes with external data, maps business data to external content types, displays the external item picker in Office
    products, and runs custom solutions inside Office products. You must also have SQL Server Compact 4.0, .NET Framework 4, and WCF Data Services 5.0 for OData V3 on each client computer (If necessary, you are automatically prompted to download the software).

  • How to publish workflows created under content type to make it available in all my-sites.

    Hi,
        i followed this procedure to publish workflows in my-sites but even after activating workflow feature am unable to get created workflow templates in my-site.
    Create a workflow and associate it with your content type in the hub.
    Before publishing this content type, export the reusable workflow and import it in all the subscriber site collections or deploy your workflow to the farm if it is a farm solution
    Activate your workflow feature
    Now, your workflow is available in the hub as well as all the subscriber site collections.
    Publish the content type. The workflow association will be publish.
          can anyone help me out of this issue. 

    Hi,
    As I understand, you encountered the issue after activating workflow feature.
    Per my test, I can get the created workflow templates
    after activating workflow feature by workflow 2010.
    1. Check if you use SharePoint 2010 workflow because SharePoint 2013 workflow doesn’t work.
    2.  Reactive the workflow template feature in your site collection.
    3. If it still doesn’t work, open the site collection you want to use the workflow in the SharePoint designer and associated the workflow with the content type in the site collection. After these steps, you can use workflow in your all site collection.
    There is a similar thread:
    https://social.technet.microsoft.com/Forums/office/en-US/714d1e48-a31d-4daa-9572-62d56c3b8c93/create-workflow-for-content-type-which-can-be-accessed-as-a-template-in-all-sites-including-mysite?forum=sharepointadmin
    Best regards,
    Sara Fan

Maybe you are looking for

  • Need to get a new printer.

    My PSC 2210 is really acting up and I need to get a new HP.  Is there an "all in one"  that does a decent job with color slides?  I really don't want to buy two units and will only have to copy the slides one time then I will be done.   A fax is not

  • W701 Screen not on after resume from Sleep

    I have the latest Jun bios installed on W701. Win7 x64 When I put the computer to sleep, and them open the lid up it will not turn on the screen, even though it is doing everything in the back, i.e. I can login using my fingerprint, etc. the only way

  • Help with Possible Mask Bug in CF8

    When letting a user edit their PRICE field at my website, I populate the field with the VALUE attribute (as seen below) using a MASK: <CFINPUT TYPE="TEXT" NAME="price" VALUE="#price#" SIZE="7" MAXLENGTH="7" MASK="9999999">Enter your price <B>without<

  • Changing Sync options on Windows XP machine

    When I first synced my iPhone, Windows XP popped up a wizard that asked what program I wanted to associate with the photos. I ignored it the first few times and then mistakenly hit Microsoft Word once. So, when I sync my phone it dumps all my picture

  • Is it possible to "indent" the first tab of a JTabbedPane ?

    Hello, Is there a simple way to add extra space before the first tab button in a JTabbedPane ? Is it possible to add components into this left area, like the "Favorites" buttons ins IE 7 ? Thank you in advance,