Update content type definition in sandboxed solution

In my web application I am using a content type hub. The content type hub contains a sandboxed solution which contains several content type and column definitions like this:
<ContentType>
<FieldRefs>
<FieldRef ID="" Name="" />
</FieldRefs>
</ContentType>
<Field ID="" Name="" />
Now I need to update a content type definition by adding a new column. In my content type definition in Visual Studio I added the field refence to the column and build a new WSP.
I am updating the sandboxed solution with PowerShell. First I add the new solution:
Add-SPUserSolution -Site $url -LiteralPath $newSolutionFile
Then I update the old solution with the new:
Update-SPUserSolution -Identity $oldSolutionName -Site $url -ToSolution $newSolutionName
The old solution is deactivated and the new solution is activated, so the update did go well. But when I go to see the content type, it's not updated. The newly added column did not get added.
When I manually deactivate the newly added sandboxed solution and activate it straight away the content type does get updated. So it looks like the Update-SPUserSolution command does not update the content type and column definitions.
Does anyone has experience with updating content types with the Update-SPUserSolution command?

Hi,
Please check the link below.
http://msdn.microsoft.com/en-in/library/ff798382.aspx.
 you can use the Update-SPUserSolution command
in Windows PowerShell to upgrade your solutions. However, this requires access to the server environment, which is not necessarily available to sandboxed solution developers or site collection administrators.
Please remember to click 'Mark as Answer' on the answer if it helps you

Similar Messages

  • Update content type template for existing sites in sharepoint 2010 ?

    Hi,
    I created one custom document library (list definition) and associated 3 content types which has docment template path (\_layouts.template1.docx). I rollout nearly 200 sites with this definition. now i want to update my document template and also i want
    to change template docx to dotx.
    what is the best approach to apply these changes for existing sites ?
    Thanks,
    Surya.
    suryakumarp

    Hi suryakumar,
    As I understand, you want to update the template 
    for existed content type.
    It can be achieved by programming. There is a
    SPContentType.DocumentTemplateUrl Property, which can be used to update content type.
    Here is a demo:
    http://officepoint.blogspot.com/2008/06/sharepoint-relink-infopath-forms-relink.html

  • What's wrong with this content type definition?

    Could someone tell me what's wrong with this content type definition? When I click "New Folder" in a custom list, it should bring two fields 1) Name 2) Custom Order. However in my case when I click new folder, I see 1) Member (which is totally
    weird) 2) custom order. Where is it getting that Member field from?
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Folder (0x0120) -->
    <ContentType ID="0x012000c0692689cafc4191b6283f72f2369cff"
    Name="Folder_OrderColumn"
    Group="Custom"
    Description="Folder with order column"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{35788ED2-8569-48DC-B6DE-BA72A4F87B7A}" Name="Custom_x0020_Order" DisplayName="Custom Order" />
    </FieldRefs>
    </ContentType>
    </Elements>

    Hi,
    According to your post, my understanding is that you had an issue about the custom content type with custom column.
    I don’t think there is any issue in the content type definition, and it also worked well in my environment.
    Did you have the Member field in the project?
    I recommend you create a simple project only with one custom Order column and one custom Folder_OrderColumn, then you can add more fields one by one.
    By doing this, it will be easier to find out the root cause of this error.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Updating Content Type Failed

    I'm fairly new to Sharepoint and Infopath.  I hope someone here can help me.   
    I have a large Infopath form with ~90 fields on it.  When I try to publich to the server, I get "Updating [or Creating] Content Type Failed".
    I determined this to be due to the number of fields and some sort of time out issue with Infopath.  I have seen a few other posts on that and the only solution I've seen is to publish with fewer fields - that does indeed work, but it doesn't solve my problem as I need all of these fields.  
    I've also seen a solution to publish with fewer fileds successfully and then republish with all you need and that the "Failed" message won't matter.  Kinda true, but then I have an issue with it no longer opening in browser.
    So then, I tried publishing it to my desktop and uploading it through Central Admin, activating it to a site collection, and using it that way.  That actually works the best so far, but then I get no option to select my Parent Content Type - it just picks "Form" - and that also doesn't work for me.  I need to select Parent Content Type
    Then, I tried to Create a new CT from scratch and point it to the form template I recently uploaded.  I get to pick my parent and all, but none of the promoted properties are there, so they don't show up in my workflow, and that's the end of that route.
    Now, I am out of ideas (but you can't say I didn't try)
    Anyone out there have any suggestions that could help me?
    Thanks

    We were running into a similar issue where ~90% of the time the publication of a complex InfoPath form would fail. It looks like a timeout issue with the webservice, but it's hard to say. We came up with a different approach that seems to have solved the problem for us. I just posted details on my blog (http://acuffgroup.com/2009/01/21/tip-for-publishing-infopath-form-to-sharepoint-library/) but the summary is: don't have InfoPath re-create the columns on each publish event. Rather have it connect to existing columns, which you can specify in the publishing wizard. This change fixed our issue and looks like it's going to save us a lot of time moving forward. Check out the post and leave a comment if this helps, or if you've got other insights you can add.

  • Update content type in list not working

    My list content type is not getting updated.
    I have a content type defined in a feature. I have created a new column and updated the feature definition and reactivated the feature.  I have also written powershell to check and update the content type with the new column.  The content type
    gets updated but not at the list level.  The powershell looks like this:
    Function UpdateContentType($contentType, $fieldLink)
    if ($contentType.FieldLinks[$fieldLink.Name] -eq $null)
    Write-Host Adding Field to content type
    $contentType.FieldLinks.Add($fieldLink)
    $contentType.Update($true)
    I thought the Update method was supposed to push the changes down, but it doesn't seem to be working.  This code does work in a different environment so I'm not what is going on.
    Caroline

    You will need to updated the list also, after updating the content type
    This is sample code how you update list which is using the Content Type.
    IList<SPContentTypeUsage> usage = SPContentTypeUsage.GetUsages(newsCT);
    foreach (SPContentTypeUsage item in usage)
    if (item.IsUrlToList)
    SPList list = rootWeb.GetList(item.Url);
    if (!list.Fields.ContainsField(firstName.InternalName))
    list.Fields.Add(firstName);
    list.Update();
    more information you can check at this link
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Updating Content Type from other metadata field

    Hi.
    In the process of creation of metadata fields a customer use a custom metadata field called 'class' to define what type the content are. The field Content Type was leave untouchble. Now they have tons of content in the same folder inside vault cause content server uses the metadata content type to create vault subfolders. What is the best way to eliminate the field class, transporting the metadata to the correct field content type and mantain the correlation of the links to the native files and weblayout files of the content? If I just update the column content type with the data in column class I believe that willl be a mess of broken links. Can anyone suggest anything?
    Thank you!

    Hi there,
    Thought i could not comprehend all that you want, I could get that you have problem with a meta data filed.
    Instead of using "Content Type" earlier contributors used "class" and now you want to chagne the "class" field with appropriate value of "Content Type".
    This can be done provided the original "class" type was used intellegently by using following steps
    1) depending on various values of class(e.g. all document for which class=A) created exports using archiver, also deleted them same time.
    2) Import the archiver created in step one and prove an input map for the "class" field to appropriate value as "Content Type"(content type =B)
    In this way all content items with class=A would be converted into content type=B.
    Hope that helps you.
    regards,
    sapan

  • How to update content types enheriting from the System Page Content type

    After importing a design package I found out that my content types was missing some columns. I could add the missing columns to my "page" and "Article Page" site content type. When adding the exisiting columns I could choose to update
    everything that inherits from this type:
    This is working. However I still miss 2 columns in the "Page" Content type:
    1. Rollup Image
    2. Hide physical URLs from search
    If I roll back my dev environment I can see that these are inherited from the "System Page" content type which is not editable. The columns are in the "System Page" content type but They are gone in "Page" content type that
    should inherit the columns.
    So how do I update these?
    Thanks

    Hi Alex,
    Thank you for replying. I totally agree with you regarding not to modify the OOB content types. The content types I have created/modified is also my own "new" content types.
    However the designpackage import messed up the OOB content types somehow so I'm only trying to get back to the state before the import. The only thing I see is still missing is the two previously mentioned columns in the "page" content type.
    Do you have any other suggestions in how to get back to the "OOB State"?
    Thank you
    Update: this is my page content type. It's not set to read only so it should update the last two missing columns from its parent (system page content type) right?

  • Incorrect Infopath content type update in form library after modifying Infopath form and publish it

    I have an admin approved InfoPath form. I added new fields to that form and mapped those new fields with site columns. After uploading updated published form through CA, I noticed InfoPath Site content type for that form got updated (with newly added fields)
    under Microsoft_Infopath group. This content type is also added in form library but somehow the new fields are updated incorrectly for this content type existing in form library (it doesn't show new fields, and shows one new field which is incorrectly
    mapped with other column this is happening only in library). 
    Things I tried:
    - Activate/Deactivate that content type feature
    - Deactivated feature, removed form from CA, re uploaded and activated feature
    - Removed those new fields and published and uploaded InfoPath form and then added those new fields and published and uploaded again.
    -Deleted those fields from InfoPath and readded new fields and published and uploaded form but still the problem persists.
    Any help will be appreciated.
    Dhaval Raval

    Hi Thanks for the response,
    But Update all content types inheriting from this type is already checked.
    That form library has multiple content types associated with it , different infopath forms get submitted there. What I noticed is that when I change the form and publish it, its corresponding site content type gets updated but the same content type used
    in form library doesn't get updated properly. I went to form library and checked that erroneous content type, there were some columns missing and one column was mapped incorrectly. When I clicked on "Parent" content type, it was showing all the new Infopath
    fields(updated content type). So I figured that Infopath site content type was getting updated correctly but it was not able to propagate those updates (in a correct way) to the form library. I also tried to edit that content type and tried adding existing
    site columns which were missing but surprisingly it was not showing those site columns either, which were mapped from Infopath publishing.
    The cause for this behavior is : changes/updates to the Infopath content type are not getting propagated to the form library and this is happening for only one infopath content type but other Infopath content types are getting updated.
    I had to delete all the forms using that erroneous content type and then had to delete that content type from the library and then re-added that Infopath content type to the library and this time it was having correct content type (updated columns).
    This is not a perfect solution for the production environment, sounds like it is a bug.
    Dhaval Raval

  • Content Types updates not getting pushed to Lists/Libraries Sharepoint 2013

    Hello,
    We have updated Content Type at Content Type Hub(ex. Making columns Hidden/Req...etc..). These changes are pushed to the consumer sites site level Content types but the problem is these changes are not reflecting at List/Library level Content type.
    Is there a way to explicitly push down the changes ?
    Best Regards, Pankaj Rana

    http://sharepoint.stackexchange.com/questions/52259/how-to-update-a-deployed-content-type
    perform the changes to the ContentType make sure to push changes to the lists while updating the ContentType.
    For now, you might need to perform some clean-up job here, just to make sure the field is deleted from all the lists, with your Custom ContentType. Use the following PowerShell script for clean-up! Vårsegod :)
    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
    $site = Get-SPSite "http://your.site.com"
    foreach($web in $site.AllWebs)
    #iterates through all the Lists
    for ($i = 0; $i -lt $web.Lists.Count; $i++)
    $list = $web.Lists[$i];
    $MyListContentTypes = $list.ContentTypes
    if ($MyListContentTypes -ne $null)
    $ct = $list.ContentTypes["You Desired Content Type Name"]
    if($ct)
    Write-Host "In list Content Type and deleting the field" $ct.Fields["You Field Name"].Id;
    $ct.FieldLinks.Delete($ct.Fields["You Field Name"].Id)
    $ct.Update()
    Edit: How to push down changes to all the Content types via SharePoint Server Object Model:
    using (SPWeb oWebsite = new SPSite("http://MyServer/sites/MySiteCollection/MyWebSite").OpenWeb())
    SPList oList = oWebsite.GetList("MyWebSite/Lists/MyList");
    SPFieldCollection collFields = oWebsite.Fields;
    string strNewColumn = collFields.Add("MyNewColumn", SPFieldType.Text, false);
    SPFieldLink oFieldLink = new SPFieldLink(fields[strNewColumn]);
    SPContentType oContentType = oList.ContentTypes["Specification"];
    oContentType.FieldLinks.Add(oFieldLink);
    oContentType.Update(true);
    Edit 2: Update a Content Type using PowerShell:
    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
    //get the specific Root web
    $spweb= Get-SPWeb "http://your.site.com"
    //get the fields collection
    $fields = $spWeb.Fields
    //get the specific field
    $field = $fields.GetFieldByInternalName("Name of you field")
    //get the specific Content Types from Root Web
    $contentType = $spWeb.ContentTypes["You Content Type"]
    //delete a field from a Content Type
    $contentType.FieldLinks.Delete($field)
    //add a field to a Content Type
    $contentType.FieldLinks.Add($field)
    //update the Content Type and push changes to the children
    $contentType.Update($true)http://sharepoint.stackexchange.com/questions/42744/how-to-add-a-field-to-a-contenttype-with-feature-upgrade-for-new-and-existing-shttp://msdn.microsoft.com/en-us/library/office/aa543504%28v=office.14%29.aspx
    If this helped you resolve your issue, please mark it Answered

  • Unable to update available content types on SPContentType.Name

    Updating content type.name property does not reflect in web.Availablecontenttypes.
                                        cTypeToBeModified.Name = "IXT_D";
                                        cTypeToBeModified.UpdateIncludingSealedAndReadOnly(true);//since content type is read only
                                        web.Update();
    This is specific to Chinese traditional environment -
    - English Win2k8 Std R2
    - Traditional Chinese MUI deployed
    - English SQL 2008,
    - CHT SP 2010 Server STD SP2
    Any ideas on this?
    shwetank

    Hi,
    I did a test with the code below and it works properly, please refer:
    SPSite site = new SPSite("http://sp/sites/mysite");
    SPWeb web = site.OpenWeb();
    SPContentTypeId id = new SPContentTypeId("0x0104");
    SPContentType type = web.ContentTypes[id];
    type.Name = "Announcement2";
    type.Update();
    Console.Write(web.AvailableContentTypes[id].Name);
    More information about Update method of SPContentType for your reference:
    http://msdn.microsoft.com/en-us/library/ms472234.aspx
    Feel free to reply with the test result if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Saving Files from Word 2010 into SharePoint 2010 document library deployed as a sandbox solution gives "Web page no longer exist" Error 410

    Created a new SharePoint 2010 List Definition project, Sandbox deployment option. List Definition type: Documents Library. When attempting to save into the document library from Microsoft Word 2010 I get "The webpage no longer exists" error in
    the File Save dialog
    If I change the type of the solution to Farm solution it works as expected.
    IISLOGS:
    2013-12-19 10:12:01 127.0.0.1 PROPFIND / - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 35
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 26
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1 - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 30
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1/Lists - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 32
    2013-12-19 10:12:01 127.0.0.1 POST /_vti_bin/shtml.dll/_vti_rpc - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0 10
    2013-12-19 10:12:01 127.0.0.1 HEAD /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 0 0 6
    2013-12-19 10:12:01 127.0.0.1 HEAD /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 1 2148074254 2
    2013-12-19 10:12:01 127.0.0.1 HEAD /_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 0#.w|domain\username 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 200 0 0 23
    2013-12-19 10:12:01 127.0.0.1 GET /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 0 0 10
    2013-12-19 10:12:01 127.0.0.1 GET /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 1 2148074254
    2
    2013-12-19 10:12:01 127.0.0.1 GET /_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 0#.w|domain\username 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 410 0 0 34
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1/Lists/ListDefinitionProject1-ListInstance1 - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 36

    Hi,
    According to your post, an error occurred when you used the custom Documents Library(List Definition using sandbox solution).
    Please check whether you have removed <ContentTypeRef/> in the <ContentTypes/> tag of Schema.xml file in your project.
    Here is a sample about list definition deployed as a sandbox solution, you can take a look at:
    http://sharepointbuzzer.com/2010/10/21/list-definition-using-sandbox-in-sharepoint-2010/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • [CSOM] How to use CSOM to add a Enterprise Keywords column to a content type

    Based on information given in following blogs, 
    http://sadomovalex.blogspot.com/2011/05/add-enterprise-keywords-field-into.html
    I wrote this code to Add an Enterprise Keywords column to a SharePoint content type. the  code runs fine... but when I go to the content type definition in the UI I don't see any column other than title.
    ContentTypeCreationInformation contentType = new ContentTypeCreationInformation();
    contentType.Name = "MyCT";
    contentType.Group = "MyGroup";
    contentType.ParentContentType = itemCt;
    ct = web.ContentTypes.Add(contentType);
    web.Update();
    c.ExecuteQuery();
    Field f1;
    Field f2;
    FieldCollection collFields = web.Fields;
    var siteColumns = c.LoadQuery(collFields);
    c.ExecuteQuery();
    foreach (var col in siteColumns) {
    if (col != null) {
    if (col.Title.Equals("TaxKeywordTaxHTField")) {
    f1 = col;
    if (col.Title.Equals("Tax Catch All Column")) {
    f2 = col;
    FieldLinkCreationInformation fieldLink = new FieldLinkCreationInformation();
    fieldLink.Field = f1;
    myContentType.FieldLinks.Add(fieldLink);
    f1.Update();
    FieldLinkCreationInformation fieldLink2 = new FieldLinkCreationInformation();
    fieldLink2.Field = f2;
    myContentType.FieldLinks.Add(fieldLink2);
    f2.Update();
    web.Update();
    c.ExecuteQuery();
    But when I go into SharePoint UI and try to see the content of my new content type. it only has a title column. there is no Enterprise Keyword column.
    How can I add a enterprise keyword column?
    val it: unit=()

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • Passing a reference to a type definition to a SubVI

    I have created a type definition that I would like to use across my application. This particular type definition is also the front panel control to my top level VI. I wanted to pass a reference to this control to my SubVi's so that they could dereference as needed and in very rare cases update the values on the front panel. However, as I built the application I noticed that I was breaking the control reference as I updated the type definition. This implies that they type of the reference changes as I change the type definition.
    How do I go about building the reference I need or is there some other way to do this that works just as well. Even if I can't make a reference to the control that is tied to the type definition, I'm willing to pass in a variant who can house the reference as long as I can build the data type (the reference) inside my SubVis.
    Solved!
    Go to Solution.

    Okay, so I tried all three approaches in a SubVI, here's what happened.
    My approach was simply to create a Type Def control, right-click and create a Reference. Then create a control from that reference by right-clicking the output of the reference and selecting the Create Control option. I then pasted this 'cluster' reference into my SubVi, made it an input and then wired up the reference in the parent to the control in the SubVi.
    Result: This breaks when you update the Type Definition.
    Next, Ben's approach (or my best effort at doing what he suggested). I created a control from reference to the type def. I cut it from the parent VI and pasted it into a new type def. I then put the type def in the SubVI and set it as an input.
    Result: This breaks when you update the Type Definition (but it actually takes a bit longer for the error to propogate).
    Finally, Christian's solution (or my best effort). I took the type def reference and put it through a To More Generic Class guy, casting it to a Control Refnum. I put a Control Refnum on the front panel of my SubVI and wired it to a To More Specific Class guy. I created a control of the type def in the subvi, hid it, and created a reference. I wired the reference to the more specific guy and verified I was getting the right data.
    Result: It works!
    It's possible I just didn't understand how to make the reference type def you were referring to Ben. I would prefer a method with less verbage. I pass this refnum into a class which holds it. Since I can't replicate the type exactly prior to run time (i.e. create a control that is exactly a reference to the type definition of my front panel), I have to save the reference as a Control Refnum and cast it every time I need it (i.e. create a control from the typedef, create a reference frome the type def, etc). More verbage than optimal, but still good!
    Thanks for the help.

  • Custom content type and choice field

    Hi,
    I try to create costum content type in visual studio, and I want to add choice field to this content type, but I didn't found, how can I programmatically fill choice datasource
    Can anyone help me?
    Thanks,
    Mykie

    I've only done this one but I seem to recall packaging these up as XML as normal columns and sompl referenced them in the Content type definition.  Having had a quick look on the inertubes for a refresher, I think this might point you in the right direction.
    http://www.skylinetechnologies.com/Blog/Article/76/Creating-Lists-in-SharePoint-Using-Visual-Studio-2012.aspx
    Something like this should be your end product.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to add core column "Modified" to a content type

    I don't know if this is the correct category to put the question in but if not you're free to move it...
    I'm creating a page layout in SharePoint 2013 using SharePoint Designer and the Design Manager, and so far everything seems to be working. But I would like to add the "Modified" site column to my page layout but it is not available in Design Manager
    as a snippet, likely because the column is not added to the content type. I thought I would be able to simply add the site column in my content type definition as a reference like this:
    <FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" />
    This has worked for all the custom site columns I have added to the content type but for some reason the "Modified" site column is not added to the content type. Does anyone know why this may be the case? Do I need to add other attributes in the
    field reference?

    I don't know what has changed since last time I tried it but if I insert this snippet it works as expected:
    <div data-name="Page Field: Modified">
    <!--CS: Start Page Field: Modified Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldDateTimeField" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldDateTimeField:DateTimeField FieldName="28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div align="left" class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer" nowrap="nowrap"><span class="ms-formfieldlabel" nowrap="nowrap">Modified</span></div><div class="ms-formfieldvaluecontainer">12-12-2013 10:33 AM</div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldDateTimeField:DateTimeField>-->
    <!--CE: End Page Field: Modified Snippet-->
    </div>

Maybe you are looking for

  • Best practice data source from ECC 6.0 for legal consolidation in BPC NW7.5

    Hi there, after scanning every message in this forum for "data source" I wonder if there isn't any standard approach from SAP to extract consolidation data from ECC 6.0. I have to say that my customer is not using New g/l so far and therefore the gre

  • How to read LONG RAW data from one  table and insert into another table

    Hello EVERYBODY I have a table called sound with the following attributes. in the music attribute i have stored some messages in the different language like hindi, english etc. i want to concatinate all hindi messages and store in the another table w

  • Reporting offensive apps

    I can't find anywhere for reporting offensive apps in the app store.  I have reported it to the "product feedback" but they don't respond to messages and I want to know what happens about this app!  Is there no overall group in charge of monitoring t

  • Regarding Purchase Requsition

    Hi, I am making report on Pur.Requisition report and i want to display that these are d Purchase Requisition which are  which are <b>released</b> by these person at dis date,if anybody provide me useful help he or she will be definately rewarded....

  • Dynamic fetch for dynamic sql query

    Hi All, I want to dynamically create a query and fetch it into a dynamic cursor record...The structure of the record should be the same as that of the query... Can you suggest any method to do that. eg OPEN <dynamic cur> FOR <dynamic stmt>; LOOP FETC