Clear customize Date field value in workflow using IDOC Script

hi all
I have a customize field type is Date with default value is Current date time. At one step of workflow I want to clear the default value of this field with
<$wfUpdateMetaData("xmPublicDate", "")$>
But it not effect. The current date time still here
Do you have any idea about it?
Thanks!

hi all
I have a customize field type is Date with default value is Current date time. At one step of workflow I want to clear the default value of this field with
<$wfUpdateMetaData("xmPublicDate", "")$>
But it not effect. The current date time still here
Do you have any idea about it?
Thanks!

Similar Messages

  • Deleting date field value via import

    I need to clear the value in a date field for a few thousand records. I tried doing this via import by setting the value to a space " " but it didn't work.
    Any ideas on how this can be achieved through import or otherwise would be great.
    Thanks.

    Hi Nakul,
    Try any of the following, it will hopefully work in your case:
    1) Import using excel with blank date field (no data in date field). This will erase the already existing value in the date field [provided there is no workflow that restricts such deletion of date data.]
    2) Create a temp workflow on condition "before modified record saved" and update the date field value with blank (no values in fx), do the import, this workflow will delete the existing data.
    Cheers!
    Vix

  • Syclo - Clearing/Unsetting Date fields

    Hi All,
    I'm having some trouble with clearing a date field. I need to have the option of setting a date field back to blank if the user request so.
    I've tried to create a transaction where the date is a string property and set the date as blank. When running the application, clearing the date field results in the error message <Date> field is required and I'm not able to clear the field.
    Thanks in advance for any hints on how to clear a date field.
    Thanks!
    Tags edited by: Michael Appleby

    Jason,
    You cannot really clear a date field on screen by design.  There is a concept of a special value in Agentry that gives you more flexibility.  You could experiment with a special value tied to your date screen field.  This should put a check box next to the date and allow you to turn it on/off allowing you to finish the transaction without setting it.  I don't believe this will unset a value that has been previously saved, so this may not work for you.  I have noticed that date special values seem broken in the latest clients anyway.
    You could add your own check box next to the date and enable/disable the date based on whether the check box is checked or not.
    You are working with MyObject and have a data field called MyDate.  Create a Date field in the MainObject called DummyDate.  This is the equivalent of a blank date since there is no data in it.  In your transaction, your final date field is called DateFinal and ties to MyDate in the object.  Create another Date property called DateScreen.  Point your screen field to DateScreen.  DateScreen transaction property initial value should be "From another object".  Set it to MyObject -> MyDate field.  DateFinal transaction property initial value is "Rule after data entry".  The rule should check whether your date check box is checked or not.  If checked, use the transaction value from DateScreen since this is the date the user entered on screen.  If not checked, use MainObject ->DummyDate.  Using DummyDate will set the date back to empty.
    Jason Latko - Senior Product Developer at SAP

  • Planning function to change date field value in layout

    Hello experts,
                          I have 1 BPS layout with 2 date fields ( Start date, End date ). With a filter conditions, set of data comes in BPS layout on execution and 2 date fields also contain some value...I want to change values of these 2 dates...both the date fields are char infoobjects..in BPS layout, in planning function I got only 1 function ( Repost function ) to change the value of char infoobject based on some condition. but date field value is not the status field...i want to enter new date instead of old date..if i right exit function in that also i can change only keyfigs values..so please help me to solve this problem..
    Thanks & Regards,
    Priyanka Joshi

    Hi Priyanka,
    As of now master data planning is not so flexibly supported.
    Still u can refer the below link which is enhancement of standard Repost function,and can be used to change master data.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92]
    As far as my knowledge goes u cannot directly input date in rows.
    regards,
    Rajendra

  • How to set field value in workflow SPD2013?

    Hi All,
    how to set field value in workflow SPD2013? Actually using Infopath, i need to update a field value through workflow.(Little differnt from SPD2010). How to do this?

    As Amit says, some elaboration here would be good.  You can use InfoPath as a form for either a list or a library and then set it to trigger a workflow upon item creation.  The workflow will consist a number of actions, one of which is the Update
    Field Item.
    More information on the available steps can be seen here.
    http://msdn.microsoft.com/en-us/library/office/jj164026.aspx
    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.

  • HT201406 1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc..

    1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc.. The cursor prompt is present.  Tapping screen just brings up the option to: "Select   Select All   Paste."   I have rebbooted with no change. 
    Message was edited by: Jimfromutah
    The problem was my connected bluetooth keyboard.

    1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc.. The cursor prompt is present.  Tapping screen just brings up the option to: "Select   Select All   Paste."   I have rebbooted with no change. 
    Message was edited by: Jimfromutah
    The problem was my connected bluetooth keyboard.

  • In the script date field value not printing in address window

    Hi Abaper's
    We are working for the upgradation project,my issue is:
    we are upgrading from 4.6 to ecc 6.0,the problem is *one from in 4.6 working fine but after upgradation to 6.o in that from in the address window date field value is not printing.in debugging mode i have checked value is coming properly but in the sppol..the date value is not displying.*can you please suggest on this.is required any changes or need to somting?
    Thanks and regards
    durga.K

    Hi,
    Kindly check if the window size is proper.
    Check if the tab settings are fine.
    Regards,
    Ankur Parab

  • How to display Contribution Folder Name using Idoc Script

    Hi, could ypu please tell me how can we display Contribution Folder name using Idoc script by passing dCollectionID. Appreciate your help on this. Thank you
    Regards,
    Ashok

    You should be able to get it directly as dCollectionName, but might have to execute a query to fill in the result set first: select dCollectionName from COLLECTIONS where DCOLLECTIONID = ?

  • Deleting a Date/Fields value

    Hi I'm developing a XDP Form to be depolyed under XHTML, and I cannot find a way to clear a Date/Time Fields current value using Javascript.
    I've tried fieldname.rawValue = "", fieldname.value = "", and fieldname.formattedValue = "", and = null for all properties mentioned. These do seem to visually remove the date's value (or put the string "null"), However when a server side script tries to read the value (should be empty) from the date/time field it still returns the original date value.
    I've also tried combinations of xfa.host.resetData(), which only partially works if the date field had an original value of empty not if it was populated with a value, plus it seems to clear all the other fields on the form which is not desireable.
    Is there any way to delete the Date/time fields value client side?
    Any ideas would be greatly appreciated?

    No attachment appears on this end ....can you mail it to [email protected]
    Thanks
    Paul

  • Set External Field Value by Workflow

    Is there any way to Set External Field Value by SPD 2013 workflow?

    Hi j.kiani,
    According to your description, my understanding is that you want to update an external column in a list by SharePoint workflow.
    I did a test:
    Create a list with an external column
    Create a workflow , and add ‘Set Field in Current Item’ action, select the field is the external column, set the value to a value from the External Content type data source
    Publish the workflow and start it on an item
    The external column was changed to the value that I set in workflow. However, when I refreshed the external column by clicking the ‘sync’ flag, the data was changed to the old value.
    I used ‘Update ListItem’ action, the result was same
    It seems that there is not an OOB way to change external column with SharePoint workflow. You can change the external column by SharePoint web OOB way (Editing item) .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Mandatory date field validation different if using a custom form... why?

    We are using SharePoint 2013 and have a custom list in which one of the fields is a mandatory date/time field.  When using the default "New" form, if I don't add any date and click the Save button, the form looks like it is submitted and then
    comes back with some red text indicating that I need a value for my date/time field.  If I simply create a new custom "New" form, and then click on the Save button without adding my date/time value, I get a black (not red) validation error. 
    A couple things are going on here.  The error is displayed BEFORE any submit happens, unlike when using the default New form.  The validation message is different and is listed in black rather than red.  For other mandatory fields, the form
    does get submitted and then displays the validation error in red, although it is a different validation error message than when using the default New form.
    I don't care that the text is different, but it is an issue for us that the text is not in red.  Does anyone know why this is happening?
    Thanks - Peter

    Hi Peter,
    According to your description, my understanding is that you want to the alert message is red in the custom New form.
    Please open the custom New from in SharePoint web site, and save without type anything in the data field, then the alert message(black) displays. Click on F12 to open IE developer debug tool, click on the arrow , then click on the black message to find the
    HTML element id for the message, in my test, the id is ctl00_ctl42_g_fed984e8_446c_4fdb_a279_328c2c369be5_ff21_ctl00_ctl00_DateTimeField_ctl00 .
    Then click on Settings->Edit page, add a Content Edit web part to the custom New form page, edit the web part and add the following code into the Edit Source of the web part:
    <style type="text/css">
    #ctl00_ctl42_g_fed984e8_446c_4fdb_a279_328c2c369be5_ff21_ctl00_ctl00_DateTimeField_ctl00{
    color:#FF0000;
    </style>
    If you have multiple mandatory fields, you need to find each id for each field alert message, add #id{…}
    into <style …> </style> section.
    I hope this helps.
    Thanks,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Urgent, Please help !!! Input Date field in Mysql database using JSP

    Hi All,
    Please help me ! I am trying to store a date field in MySql databaseusing JSP on Tomcat Server.I am gettting the following error.
    I am taking the String Input and then trying to convert it into date type
    inorder to store it into date field in a database.
    I am using the following code :
    <%
    try{
    String dt=request.getParameter("avldt");
    SimpleDateFormat adt= new SimpleDateFormat("dd-MM-yyyy");
    Date sqlToday = new java.sql.Date(adt.parse(dt).getTime());
    catch(ParseException e){
         e.printStackTrace();
    %>
    But I am getting the following error message :
    Class jsp.myjsp.SimpleDateFormat not found.
    Please help me !!!.It's very urgent.
    Thanks,
    Savdeep

    programming is more then copy pasting, it actually is usefull to think about what you are doing. First you declare that you date is format dd-MM-yyyy, then you want to parse a date in format dd/MM/yyyy and behold Java warns you it cannot parse the one into the second ! Cant you solve the rest of this puzzle yourself then ?

  • Help with Date Field Value

    I have only used livecycle for a few months, so sorry if this questions seems basic, just beyond my knowledge at the moment.
    I need a little assistance with a date issue I am having on one of my forms.
    I have the display pattern of a date field set to --    date{MM/DD/YYYY}
    The issue I am having is some users are entering the date using the  " - "symbol instead.
    Example  01-01-2000
    and other are using the correct  01/01/00 format with the " / " as the divider.
    This is causing calculations in the next field to fail because the date it formatted incorrectly.
    How can I make the field convert the " - " to the the correct symbol of " / " and still allow others to use the " / " as they are now.
    Thanks

    I was able to figure it out using the edit pattern page

  • Importing Structure field values in Excel using VBA and SAP RFC

    I am calling a RFC MEASUREM_DOCUM_RFC_SINGLE_001 from Excel VBA. The export parameters of the RFC has a parameter MEASUREMENT_DOCUMENT and structure COMPLETE_DOCUMENT. I am able to get back parameter value in excel from RFC using
    ActiveCell = Funct.imports("MEASUREMENT_DOCUMENT")
    Now I want to get the value of one of the fields say POINT of the structure COMPLETE_DOCUMENT in Excel. The following code doesnt work
    ActiveCell = Funct.imports("COMPLETE_DOCUMENT-POINT")
    It gives an error.
    Even I have tried to using code for tables
    dim tab as object
    set tab = funct.tabels("COMPLETE_DOCUMENT")
    but it did'nt work.
    Can any one help me how to access the field value of a structure?
    regards
    Ravindra

    I am calling a RFC MEASUREM_DOCUM_RFC_SINGLE_001 from Excel VBA. The export parameters of the RFC has a parameter MEASUREMENT_DOCUMENT and structure COMPLETE_DOCUMENT. I am able to get back parameter value in excel from RFC using
    ActiveCell = Funct.imports("MEASUREMENT_DOCUMENT")
    Now I want to get the value of one of the fields say POINT of the structure COMPLETE_DOCUMENT in Excel. The following code doesnt work
    ActiveCell = Funct.imports("COMPLETE_DOCUMENT-POINT")
    It gives an error.
    Even I have tried to using code for tables
    dim tab as object
    set tab = funct.tabels("COMPLETE_DOCUMENT")
    but it did'nt work.
    Can any one help me how to access the field value of a structure?
    regards
    Ravindra

  • Metadata values not showing in Site Studio layout using Idoc Script

    Hi All,
    We have a SS layout (secondary) with replaceable regions for showing content that is listed in a primary page dynamic list.
    Part of the layout shows contribution elements of Contributor Data File content items, but part of layout also shows metadata values. We use <!--$DOC_INFO.dDocTitle--> to show the content item Title with no problems.
    However, for some content items, some metadata values are not showing on the layout - specifically a custom metadata field called xFinishDate (which is of type 'Date' in Config Man). The code <!--$DOC_INFO.xFinishDate--> simply does not work (nothing is displayed) for some content items, despite definitely having a set FinishDate value. Some other content items show this value fine.
    The <!--$DOC_INFO.dDocTitle--> value works for ALL items, but the <!--$DOC_INFO.xFinishDate--> does not, and there appears to be no difference between the items that it does, and does not work for. They are all CDF, same DocType, same CheckIn profile, etc.
    The non-working items are all released and indexed. Their Content Information in Content Server shows complete metadata. I have resubmitted the non-working items for reconversion in Repo Man but no luck.
    Is there something I am missing? Any help is greatly appreciated.
    Luke.

    Actually the default DOC_INFO resultset that is on the page seems to be for the content item being loaded into the secondary layout's replaceable regions. This is why DOC_INFO.dDocTitle gives the results expected.
    However, I think I have discovered why the xFinishDate value was not showing. Using sapan's code (and modifying it a bit) I was able to print out all the metadata field names and values for default DOC_INFO resultset.
    Using this URL as an example: http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011217
    At the top of page region (replaceable) where the Contributor Data File is loaded into, the DOC_INFO resultset is relevant to the content item that is being loaded into the layout (content ID: BD3_011217 - as per the URL format), which is what we want.
    However, throughout the Contributor Data File content, if a link is made using the Site Studio link wizard via FCK Editor (in the above case, it is the position description link, which is a link to a PDF) and the link is 'Link to a file' and the 'Choose Target section' is selected as 'Use default website section metadata', the resulting link looks like "http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011216". Any references to the DOC_INFO resultset on the page after the instance of this link now use the metadata of the content item referred to in the link, not the original content item. I have dumped out the DOC_INFO fields/values in different parts of the layout to prove this. The linked content item has no xFinishDate value so this is why nothing displays (displaying xFinishDate needs to happen after the link to the position description).
    I guess I need to either:
    - change the way the link is made to the content item to "Link to the Content Item's URL", but I would prefer not to expose the resulting path e.g. "[!--$HttpRelativeWebRoot--]groups/group-name/@account-name/documents/content-type/content-id.pdf"
    - explicitly make a resultset using <!--$executeService("SS_GET_SEARCH_RESULTS")--> with the content ID I know I want and use it instead of the default DOC_INFO one. Is there any other way to make a resultset comprising of a single item's metadata?
    9.45 SS_GET_SEARCH_RESULTS
    ■ Description: This is a wrapper around the regular CS GET_SEARCH_RESULTS
    service. It allows some Site Studio features to be specified simply as flags and have
    the real query syntax be constructed on the server. It can modify the standard
    'SearchResults' resultset to contain an additional column called 'ssUrl' which will
    contain the Site Studio-friendly url for all of the search results.
    ■ Parameters:
    – siteId: the unique identifier of the site (required).
    – ssLimitScope: True/False, restricting scope to within the site only (optional).
    – ssUserSearchText: user-supplied search text (optional).
    – ssWebsiteObjectType: object type (optional).
    – computeFriendlyUrls: True/False, modify results to include ssUrl (optional).
    ■ Returns: resultset named ’Search Results’.
    ■ Security: The user must have at write access to at least one security group on the
    content server
    Thanks to everyone for their help. Almost there!
    Edited by: lukeb2112 on 18/01/2010 17:30

Maybe you are looking for

  • Connecting external display to 2009 iMac 27" - resolution?

    I have a late-2009 27" iMac and am trying to connect to it a 27" external display (ASUS PB278Q). Both the iMac and the Asus have resolution of 2560x1440, but when I connect them, the best I can get on the ASUS is 1920x1080. I am connecting via the Ma

  • Unable to install

    Okay I've downloaded iTunes but can't seem to get it installed. I've tried deleting and redownloading & rebooting the computer but can't seem to get the install window to come up. I have an icon on the desktop for "setup" but I keep getting the windo

  • How to read current using labview 7.1 from Keithley 2400

    Hi, All, I am trying to read current out from labview 7.1. The program I wrote is attached (program.gif). But when I run this program, the error message poped out when it reach the function of GPIB write (error.gif). Can anybody help to point out wha

  • Problem in Fox Formula..

    Hi, Total field i require GL and PO Combination wise SUM(amount). Variables      Provisions - Circle     MU Fiscal year/period     003.2010 Company code     RIL Controlling Area     RIL Header      Provisions - Circle     MU Fiscal year/period     00

  • Premiere CS6 ignores preview files

    I've just moved over from FCP to Premiere and I'm having some teething problems. I have created an XDCAM HD 1080p timeline, made my film and graded it.  I have then applied "Render Entire Workflow" so that I can watch the sequence without any dropped