XML News Approval Status in Layoutset

Hello,
I'm also having a problem with the approval status. I have added the workflow status to the xml form, but the problem is that the status doesn't change, when submitting or releasing. The statemanagement commands were added to my layoutset, which is a copy from AppBulletinBoardExplorer.
The layoutset consists of:
2 collection renderers:
AppBulletinBoardCollectionRenderer
AppBulletinBoardHTMLCR
2 resource renderers:
AppBulletinBoardResourceRenderer
AppBulletinBoardSubAreaResourceRenderer
I have added:
state to the displayed properties and visible properties and the 'Show Resource Properties' to all.
The problem is that the workflow status isn't properly displayed in the xml and that i'm also not able to show the properties outside the xml, in the layoutset.
When I look in the KM content it does display the right workflow status.
I hope that one of you can help me.
Thank you in advance.
Greetings,
Joost Christenhusz
Does someone got other suggestions?
I found out that in the AppBulletinBoardEditResourceRenderer (in which I the property cm_state) added the settings resource renderer: NewsRenderer is the reason for not showing the property cm_state properly.
This resource renderer is calling a java class however. Changing this renderer into ResourceRenderer shows the state properly, but hides the newsitems.
I hope that anyone can help me.
Greetings,
Joost

Hello Patricio,
Thank you for your trouble. Unfortunately it doesn't work correctly yet. The following happens.
After submitting a document or approving a document the workflow status doesn't change in de renderlistitem. However the correct workflow status does change in de show form. Also does the status in the renderlistitem does when I click on 'generate project' in the XML Form Building.
It looks like the workflow status in the renderlistitem isn't dynamic. How can I change that?
I looked at the global settings form the two forms, but they appear to be the same, except from the HTML Fragment. Changing this doesn't have any effect.
Thank you in advance.
Greetings,
Joost

Similar Messages

  • SP2010 Designer workflow "Set Content Approval Status" does not work

    Hello
    I'm having a problem with a workflow for one of my clients.It is a SharePoint 2010 environment and I can only use SharePoint 2010 designer (no visual studio).
    We have an approval workflow in place, which works great. After the document approval workflow has does its thing, a new workflow can be launged by specific users (they have writing rights and can approve content). The workflow is used to set the release
    date of the document. This can only be determined after content approval.
    However, when the release date is set, the document approval status is changed to concept. This is of course to be expected, as we changed to document metadata. That is why I wanted to add the action "Set content approval" to this workflow. I cannot
    seem to get this action to work. Right now the workflow does the following:
    check out the document (check out is obligatory in our library)
    set the release date field to the released date parameter (defined when starting the workflow)
    check in the document
    set content approval to approved.
    The release date gets set to the parameter value, but the document is not checked in and the content approval status is not set. SharePoint produces the following error message (translated from Dutch): "An error occured. Cannot edit the item, possibly
    because one or more columns require another type of content. Unknown error."
    Guided by other posts online I gathered that this might be because the actions checkin and set content approval occur to close together. I tried letting the workflow pause for the duration of 1 minute after checking in, but this pauses the workflow indefinitely.
    I then tried 5 minutes (as this is the time standard set by SP2010 designer) but this also resulted in indefinite pausing.
    Posts online lead me to believe that I'm not the only suffering from this problem, but as of yet, I haven't been able to find a solution that works for me. Hopefully someone can help me.

    Hi,
    According to your post, my understanding is that the "Set Content Approval Status" didn’t work in SharePoint 2010 Designer workflow.
    I try to reproduce the issue and the result is the same as yours.
    If I only check out and check in the item, the workflow works well.
    However, once I set Content Approval Status after checking in the item, the workflow get error.
    As a workaround, I recommend to use two workflow to achieve what you want.
    First, create the first workflow, and allow the workflow to be manually started.
    Then, create the second workflow, and
    start the workflow automatically when an item is changed.
    When you start the first workflow, the document will be set value of the release date. And then the second workflow will be started automatically to set the content approval status.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Update Approval Status of parent Folder based on approval status of folder items

    Hi,
    I have a SharePoint list which contains folders. Each folder contains one or more items. I wish to update the folder approval status to "Approved" when all the items inside the folder are approved.
    The workflow should trigger whenever the approval status of one or more items inside the folder is changed and is expected to check the approval status of all other items inside the folder. If all the items are approved the folder's approval status should
    be set to "approved".
    I am designing the workflow via SharePoint Designer 2013 and using SharePoint Online 2013 .
    Thanks a lot in advance.

    Hi,
    According to your post, my understanding is that you wanted to update Approval Status of parent Folder based on approval status of folder items.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    Though we can loop the
    folder items to set the content approval status, we can not get the parent folder and then set the content approval status.
    As a workaround, I recoemend to create event reciever to get set the content approval status of the folder items.
    For more information, you can refer to:
    How to: Create a remote event receiver
    How to create a simple Remote Event Receiver for a Custom List in Office 365 SharePoint 2013 site
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    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]
    Linda Li
    TechNet Community Support

  • How to  add a new System status?

    Hi,
    I am working on the Bid invitation process. When we process the Bid submitted, we have 'approve' , 'reject' buttons which when clicked wil set the system status to 'I1014' & I1013' respectively.these r maintained in TJ02.
      I have added one more button called 'Interim approval' for the bid. I want to set a system status whn this button is clicked.
    My question is how to add a new system status to the  existing list?
    Plz help me in solving this...
    Thanks,
    Sivagami.R

    Hi Sivagami,
    Why you want to add a new system status,what is the business need.
    I will ask you to look a sdn thread on this issue
    Selection of approvers for Bid
    and standard workflow behavior on this process.
    http://help.sap.com/saphelp_srm30/helpdata/en/33/16533d6dd60610e10000000a114084/content.htm
    regards,nishant
    Please reward points if this helps.

  • How Popup window automatically open, when I got new approval from any user?

    Hi Friends,
    I have an application in Form6i, where different users send approvals to me, when somebody send me new approvals there is indication to me, I used timer, and I Execute Query in When Timer Expire trigger , so a display item is appear when I received new approval. But this is only applicable on the Approvals screen, when I navigate to another screen I have not get an indication of new Approvals.
    Now I want to get an indication of an approval on every screen in my application in the form of Popup window.
    A window is automatically open before me on any screen when new approval is come.
    THIS IS JUST LIKE YAHOO MAIL BOX, WHEN WE WORKING IN ANY APPLICATION JUST LIKE MS WORD, EXCEL ETC. AND WHEN NEW MAIL COMES IN ACCOUT THERE IS AN INDICATION IN STATUS BAR “RECEIVES ONE NEW MESSAGE”
    Please send me the solution of this problem on urgent basis.
    Best regards,
    Shahzad

    Instantiate from your forms application a second forms application which calls your form with the timer or which contains a procedure which has registred itself for a message (use dbms_pipe).
    Your starting form code will call via a host command ifrun32.exe with all required parameters and the name of the form containing the timer or listener. Now you have two forms applications running on your pc but the "mailbox"one can get minimized and maximized the moment a message is detected.
    Marcos

  • Can't retrieve approval status in Globally Reusable Workflow (Approval - Sharepoint 2010)

    For day's i am trying to implement the following in one of the standard, out of the box, Globally Reusable Workflow with Sharepoint Designer 2010:
    If Current Item:Approval Status not equals 0:#Approved Start Approval Workflow Task process on Current Item with Parameter:Approvers Else //Nothing
    This is to prevent that a workflow is started if the item is already approved! The strange thing is, a buddy of mine has also Sharepoint 2010 and he can select in the DropDown list -Current Item: -> Approval Status..
    But the only things I can select are the following:
    Content Type
    Created By
    ID
    Modified
    Modified By
    Title
    I don't understand what is going wrong! What am i forgetting to configure or bind or set?

    I have found the solution!
    I have setup an test environment, Sharepoint 2013 on MS Server 2008R2 and installed Sharepoint Designer 2013. When I now edit the default out of the box "Approval - Sharepoint 2010", if you enter the condition "if current item field equals value", you can
    now select "Approval Status"!!
    So this means that it IS available after all! After a lot of trying, searching, this is the solution in a Sharepoint 2010 environment, installed on MS Server 2008R2:
    Edit the (global or copied version if you want) workflow.
    Add the condition "if current item field equals value" as a step.
    Select from the item field: Content Type
    Click on "equals" and change it to "not equals"
    Then click on the condition and enter manually the following: 0;#Approved
    Move the task "Start Approval Workflow Task..." up so it is a part of the condition "If.. "
    Add an Else condition
    Enter here your custom action or log to show the user that the Task is not performed.
    Save the workflow.
    We now have to manually edit the Workflow Rules file.
    In Sharepoint Designer 2010, click at the left side of the ribbon on "All Files".
    If you have created a custom workflow, you can find the "Workflow.xoml.rules" file, in the folder
    Workflows/"Your custom workflow"/"CustomWorkflow.xoml.rules".
    If you are using the global, out of the box Workflow, you can find the .rules file in:
    _catalogs/wfpub/Approval - SharePoint 2010/ReviewApproval_1033.xoml.rules
    Click on the file, then in the next screen click on "Edit file" under Customization. 4.Search for the string "ContentType" 5.When you have found the string, it looks a bit like this:
    ns1:String xmlns:ns1="clr-namespace:System;Assembly=mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">ContentType ns1:String
    (When you look a few lines below this line, you see your added condition 0;#Approved)!
    6.Replace the string ContentType with: _ModerationStatus 7.Save the file! 8.Open in the current directory the "Workflow.xoml" file (this is the workflow itself) 9. Click on the Save button, it will give you a notice:
    A more recent version of _catalogs/wfpub/Approval - SharePoint 2010/ReviewApproval_1033.xoml.rules has been saved to the server by "user" on 1/5/2014 10:50 AM.
    Do you want to replace this with your file?
    Click NO! (Important, otherwise it will replace it with the default rules file, and nothing has changed!)
    Close Sharepoint Designer 2010, reopen SPD2010 and go to the workflow.
    Edit the workflow and you'll see the following now:
    "If Current Item: equals 0;#Approved"
    The field Content Type is now gone! This is correct so don't worry!
    Publish the workflow and you are done!
    Check now on a library that has a link to the edited workflow, when you start a new Workflow on a Approved-Major version of the document, what the outcome is:
    The workflow is discarded because of the condition and nothing happened, so your document stays on the most recent Approved-Major version and is not published back to a previous version number!!
    Conclusion: I think that the Sharepoint 2010 Designer, is missing that specific "Approval Status" field, but with the solution i have just given, you can solve this!
    C# for the win!

  • Approval Workflow does not update the Content Approval status if started automatically

    Hi,
    I’m using a simple Approval Workflow associated with
    Content Approval on site pages. It works fine when I set it to be started manually (by using
    Allow this workflow to be manually started by an authenticated user with Edit Item permissions
     option) and on the completion of the workflow the
    Content Approval status is updated accordingly. But when I set it to be started automatically (by using
    Start this workflow when a new item is created
     / Start this workflow when an item is changed
    options), it does not updates the Content Approval status. Note that I’ve set the
    Update the approval status after the workflow is completed (use this workflow to control content approval)
    option to true.
    Regards

    Hello,
    It is recommended to select "Start this workflow to approve publishing a major version of an item" when you want to use the workflow to manage content approval for
    a library.
    According to the Notes for “Enable Content Approval” option in
    this reference:
    If you are using this Approval workflow to manage content approval (moderation) for a library, and you selected the Start this workflow to approve publishing a major version
    of an item check box on the Add a Workflow page..
    If you did not select the Start this workflow to approve publishing a major version of an item check box on the Add a Workflow page because you do not want this workflow to
    be the default content approval workflow for a library, you can select the Update the approval status (use this workflow to control content approval) check box to make this workflow a secondary content approval workflow that specific users can
    start manually.
    That means having an approval workflow start automatically when a document is changed or created is not a good practice when you want to use the workflow to manage
    content approval for a library. You should either select "Start this workflow to approve publishing a major version of an item" or give users the option to start the workflow manually at the time they want to submit for an approval.
    Thanks & Regards.
    Lily Wu

  • Get approval status in edit form

    Is there an easy way to retrieve item approval status (moderationStatus) inside the edit form? During display of edit form I need to know wheather the currently edited item was approved or not. I see that the information is not reflected in a hidden column
    or else. I have the following ideas:
    Custom flag column that indicates if the item was approved.
    Get the current item via js rest call and check OData__ModerationStatus.
    I just want to know if there is an easier way to get the moderationStatus of the item I am editing.
    Thank you!

    Hi Eng,
    As we all know, the approval status column is a hidden column in SharePoint and it cannot be edited manually, so there is no OOB way to display the column value in item edit form.
    The easiest way is to use code to get the current item and then display the _ModerationStatus value in your Edit Item form.
    Here is the code example:
    <script language="javascript" type="text/javascript">
    ExecuteOrDelayUntilScriptLoaded(runCode, 'sp.js');
    function runCode() {
    var value1=window.location.href.indexOf("?")+4;
    var value2=window.location.href.indexOf("&");
    var url=window.location.href;
    var itemId=url.substring(value1,value2);
    var clientContext = new SP.ClientContext();
    var targetList = clientContext.get_web().get_lists().getByTitle('Case Date');
    targetListItem = targetList.getItemById(itemId);
    clientContext.load(targetListItem, '_ModerationStatus');
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded() {
    var status=targetListItem.get_item('_ModerationStatus');
    switch(status) {
    case 0:
    alert("Approved");
    break;
    case 1:
    alert("Rejected");
    break;
    case 2:
    alert("Pending");
    break;
    case 3:
    alert("Draft");
    break;
    function onQueryFailed(sender, args) {
    alert('Request failed. \nError: ' + args.get_message() + '\nStackTrace: ' + args.get_stackTrace());
    </script>
    You can also take a look at the link below about changing the Approval Status column in Edit item form:
    http://www.codeproject.com/Articles/718575/Change-of-Approval-Status-in-SharePoint-Edit-Form
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Can you update Approval Status in Sales order using DI API using SDK

    Hi experts,
    Can we actually update the Approval Status(WddStatus) in Sales order From approved to pending using DI API.
    Thanks,
    John

    Hi John,
    When the sales order is originally created, and at that point pending approval, it is stored as a draft. Once approved, a sales order is created based on the draft.
    In other words, the pending document and the approved document are two entirely separate objects in the database (they use different tables), and in the SDK.
    That means that you can certainly realize your requirement, but you will have to look at it from another perspective. In quasi code:
    Intercept the update event
    Check if any changes were made that warrant another approval round
    If so, duplicate the (adjusted) order, and submit the new order to trigger the new approval round.
    Close or cancel the original order.
    Admittedly this seems a bit silly, but unfortunately the approval process in B1 is still not perfect. As such I recommend that you (also) log on to the SAP Business One Idea Place, (it is free, like the SCN) and vote for any ideas that pertain to your requirement, and/or create an idea of your own.
    Another approach all together could be to instruct users not to make changes to orders, and to use the stored procedure to prevent updates. And allowing users to only submit a new order altogether (they can use the duplicate functionality).
    Regards,
    Johan

  • Leave with approval status ''Work in progress''

    Hi,
    I try to delete or complete the leave with approval status ''Work in progress'' and there is no way to do that .. can anybody help .
    This issue happened when i request annual leave and the session expired .. i login again and i found the request stuck at absence summary and i can't do any thing even deleting.
    snapshot of the issue:
    http://www.2shared.com/photo/B2F8Aysg/work_in_progress_leave.html
    Thanks in advance

    Hi,
    Yes i know its not should be disabled at site level i did that on test envroment .
    i tried to put it at user but its not possible
    after i put the profile on value 'Yes' the delete and update columns appeared at absence summary with warning massege and i can delete the Leave with approval status ''Work in progress'':
    http://www.2shared.com/photo/QqRfjReY/Warning_mass-2.html
    and when i try to create new leave gave this error massege:
    http://www.2shared.com/photo/LL1sU9xB/Warning_mass-1.html
    can you guide me how can i know the earlier personalization done on the absence page ??
    thaks alot for your helping

  • Approval Status of Adobe Content Viewer v29

    Hello everyone,
    Here is the current status of the v29 Adobe Content Viewer approval at the various application marketplaces.
    Store
    Submission Date
    Approval Status
    Apple App Store (iOS)
    December 16, 2013
    Approved
    Google Marketplace (Android)
    December 16, 2013
    Approved
    Amazon Marketplace for Android (Kindle Fire)
    December 16, 2013
    Approved
    Windows Store (Windows 8.1)
    December 16, 2013
    Approved
    I will update this post as each submission moves through the process. Remember that pro and enterprise customers can create their own v29 Adobe Content Viewer for iOS using App Builder.
    Our what's new and bug fixes pages for v29 have details on the changes to the viewers.
    Thanks!
    Neil

    That is something I really would like to see. It would be great to be able to create custom viewer builders also as free member.
    Another thing (this should only be for Pro/Enterprise) would be the ability to change the name and icons of the custom content viewer.
    [edit] @Bob: This was a request/question, not a fact.
    Message was edited by: Anselm Hannemann

  • Approval Status of Adobe Content Viewer v31

    Here is the current status of the v31 Adobe Content Viewer approval at the various application marketplaces.
    Store
    Submission Date
    Approval Status
    Apple App Store (iOS)
    June 11, 2014
    Approved
    Google Play (native Android)
    June 11, 2014
    Approved
    Windows Store (Windows 8.1)
    June 9, 2014
    Approved
    I will update this post as each submission moves through the process. Remember that pro and enterprise customers can create their own v30 Adobe Content Viewer for iOS using App Builder.
    Our what's new and bug fixes pages for v31 have details on the changes to the viewers.
    Thanks!
    Neil

    That is something I really would like to see. It would be great to be able to create custom viewer builders also as free member.
    Another thing (this should only be for Pro/Enterprise) would be the ability to change the name and icons of the custom content viewer.
    [edit] @Bob: This was a request/question, not a fact.
    Message was edited by: Anselm Hannemann

  • Approval Status of Adobe Content Viewer v30

    Here is the current status of the v30 Adobe Content Viewer approval at the various application marketplaces.
    Store
    Submission Date
    Approval Status
    Apple App Store (iOS)
    March 15, 2014
    Approved
    Google Marketplace (native Android)
    March 15, 2014
    Approved
    Windows Store (Windows 8.1)
    March 14, 2014
    Approved
    I will update this post as each submission moves through the process. Remember that pro and enterprise customers can create their own v30 Adobe Content Viewer for iOS using App Builder.
    Our what's new and bug fixes pages for v30 have details on the changes to the viewers.
    Thanks!
    Neil

    That is something I really would like to see. It would be great to be able to create custom viewer builders also as free member.
    Another thing (this should only be for Pro/Enterprise) would be the ability to change the name and icons of the custom content viewer.
    [edit] @Bob: This was a request/question, not a fact.
    Message was edited by: Anselm Hannemann

  • Folder Approval Status Pending

    HI,
    I am adding a custom site page using a module in Visual Studio project.
    Below is my sample Module Scrip
    <Module Name="SampleFolder" Path="SampleFolder" Url="$Resources:osrvcore,List_Pages_UrlName;/SampleFolder" >
        <File Path="SamplePage1.aspx" Url="SamplePage1.aspx" IgnoreIfAlreadyExists="TRUE" ReplaceContent="TRUE" Type="GhostableInLibrary" Level="Published"  >
          <Property Name="Title" Value="Sample Page1" />
    After deploying I am able to see a new folder SampleFolder in Pages library and able to see a file named SamplePage1 in that new folder.
    The file Approval status is "Approved" but the Folder approval status is still "Pending".
    Kindly help me with inputs on how can I make this Folder Approval status as "Approved".
    Thanks,
    kesari suresh

    Hi kesari,
    Glad to hear that you have sovled the issue, and thanks for your sharing!
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Need to Display Approvers name with approval status in PR

    Hi,
    We have a requirement to display the Approvers name with the approval status(for each Approve) in the purchase requisition. the developer has all the logic to achieve this and he said we cannot display this in the release strategy tab in PR but we can display the same in the tab- Customer data at the item level since it has more space. the user came back saying we should have this information in a new tab in PR with the name Approvers overview or else in any place in PR where the Buyers can easily identify where to find the list of approver names in the PR.we don't want to create a new custom tab just for this reason in the PR item. not sure whether we can really create one.
    can you please let me know where can we display the Approvers name in the PR(item level)so that the users can easily identify those.
    just wanted to know how is this handled in your company do you display the approvers name with release status any where in the PR, if yes where do you display?
    Thanks
    Mahendra

    /* Formatted on 10/12/2011 9:57:19 AM (QP5 v5.149.1003.31008) */
    WITH ADM_MENUS
            AS (SELECT 19 menu_id, NULL parent_menu_id, 10 seq_no FROM DUAL
                UNION
                SELECT 18, 19, 10 FROM DUAL
                UNION
                SELECT 20, 18, 30 FROM DUAL)
        SELECT menu_id,
               parent_menu_id,
               seq_no,
               CASE CONNECT_BY_ISLEAF
                  WHEN 0
                  THEN
                     REPLACE (SYS_CONNECT_BY_PATH (seq_no, ','), ',', '0')
                  ELSE
                     SUBSTR (REPLACE (SYS_CONNECT_BY_PATH (seq_no, ','), ',', '0'),
                             LENGTH (SYS_CONNECT_BY_PATH (seq_no, ',')) - 5)
               END
                  disp_seq_no
          FROM ADM_MENUS
    START WITH parent_menu_id IS NULL
    CONNECT BY PRIOR menu_id = parent_menu_id
    19          10     010
    18     19     10     010010
    20     18     30     010030

Maybe you are looking for

  • Mpss support on solaris 10

    I would like to enable large heap pages for an application that may be experiencing high TLB miss rates, but I am having difficulty getting the tools to manipulate the page size to work correctly. On SPARC, I can get the stack to use large pages, but

  • Catch an error in CFMAIL

    Hi guys, I have written a snippet of code <cffunction> <cftry> <cfmail to=[email protected] from=[email protected] subject="Hello" server="10.0.0.1"> #TheFileContents# </cfmail> <cfcatch type="any"> <cfreturn 6> </cfcatch> </cftry> <cfreturn 0> </cff

  • Changing Graphics Card Settings

    Hi there I have a 24 inch iMac and when I run Maya (the 3d software) the timeline does not show up at the bottom of the screen. It works fine on my old G4 so what is the problem here? I figure I need to change graphics card options somewhere but have

  • Lightroom 4 and Elements 10

    I am using lightroom 4, and want to "edit in Elemennts 10" which is installed on my mac.  When I click "edit in" and click on Elements 10, NOTHING HAPPENS?      What should I do?

  • FAT32 / HFS+ / MacDrive

    **This was initially posted in the iMovie forum, but since history has proven the responses and views to be far more frequent in here, I am reposting I recently purchased an external hard drive which came formatted as FAT32. Due to FAT32's file size