Document Builder - date format?

Robin Sugiura
Robin Sugiura ✭✭✭

I am trying to generate certificates of completion with document builder and include the date of conferral. No matter how I enter the date into a date field (my preference is "Friday, January 1, 2021" as the format), it always enters in the 1/1/21 format. Any ideas for getting document builder to fill it correctly?

Best Answer

  • Robin Sugiura
    Robin Sugiura ✭✭✭
    Answer ✓

    I figured out a workaround -- if the date is entered in long form in a text column instead of a date column, it populates as entered.

    Don't know if there is another way to affect the formatting if populating from a date column.

Answers

  • Robin Sugiura
    Robin Sugiura ✭✭✭
    Answer ✓

    I figured out a workaround -- if the date is entered in long form in a text column instead of a date column, it populates as entered.

    Don't know if there is another way to affect the formatting if populating from a date column.

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi@Robin Sugiura

    Excellent!

    Glad you got it working, and thanks for sharing the workaround.

    Be safe and have a fantastic week!

    Best,

    Andrée Starå| Workflow Consultant / CEO @WORK BOLD

    Please help the Community by marking your postwiththe accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå| Workflow Consultant / CEO @WORK BOLD

    W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.

  • I am struggling with the same issue listed in this thread, however my problem is that I cannot add the date as a text because there are other columns that automatically calculate from the date column. Can I somehow copy the date into a text column without running into a formatting issue?

  • Yes, I had to add a helper column and have to add the long form version manually. It's a crap workaround.

  • Hi All. I had a similar problem in that I wanted to display the modified date in long format. I solved this problem by building a sheet with months (column 1 has numbers 1 to 12 and column 2 has the month name). I then used a new column in my sheet which had the following formula =DAY(Modified@row) + " " + VLOOKUP(MONTH(Modified@row), {Months Range 1}, 2, false) + " " + YEAR(Modified@row). This returns text in long format and i use that in my document builder. Its pretty clean and easy to use. Would be nicer if we could simply format in "long" though :)

  • I find the document builder extremely frustrating from a formatting perspective, this being one of them. The workarounds are not consistent with what they are presenting the features to be - its much less simple that its trying to seem. My formatting is coming through is various stretched out sized, text cut-off in the form field, etc. There needs to be a formatting edit feature that affects the document only, and not needing the source sheet to have the same format (text alignment, font size, etc)

  • SueinSpain
    SueinSpain ✭✭✭✭✭

    I was having date format problems and found it was because the format is taken from the PDF file not the smartsheet. So I did a custom date format in my adobe fillable pdf and yippee it worked.

    我没有里德所有变化ations or the very long date but it did make me aware that the PDF formatting overrides the smartsheet formatting


    Hope this helps :)

    Sue Rogers

    AmerisourceBergen - MWI Animal Health

    Business Analyst

  • @SueinSpain我感兴趣的是您使用的日期格式。我tried what you mentioned. I modified the fields in the pdf to date DD-MMM-YYYY (same as my column date format in the sheet), remapped it but the form generated was still showing the date in DD/MM/YY (in Europe) and MM/DD/YY for my US colleague.It looks like the date regional settings is the default format used for the date column when generating a document.

  • Kirstine
    Kirstine ✭✭✭✭✭✭

    Mine is creating the document with American format even though I'm in the UK.

    Can you help@Andrée Starå?

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi@Kirstine

    I hope you're well and safe!

    How did it go? Did you manage to get something set up?

    I hope that helps!

    Have a fantastic weekend & Happy New Year!

    Best,

    Andrée Starå| Workflow Consultant / CEO @WORK BOLD

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå| Workflow Consultant / CEO @WORK BOLD

    W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.

  • Kirstine
    Kirstine ✭✭✭✭✭✭

    Hi@Andrée Starå

    I still can't get it to do a long date, but I did a ridiculous workaround with three helper columns which at least brings it up in English format. (I needed mine entered at the end of the sentence so I had to add a full stop/period afterwards.)

    Date_helper1: =([Start Date]@row) + " "

    Date_helper2: ="."

    Date_helper3: =LEFT([Date_helper1]@row, 8) + [Date_helper2]@row

  • I have updated both the PDF format to be mmmm dd, yyyy and changed the smartsheet format to be long format and the date in the document generator is still showing up mm/dd/yy

  • Shocked that this is still a problem. Smartsheet is great in so many ways, but the fact that taking information from the date column and transferring it into the document builder using the format already set in the source column is quite simply astonishing. This has been a known issue for what...three years now? Any other column seems to pull in exactly as it is sourced.

    I saw somewhere else it is based on your profile preference but after looking through countless regional preferences I did not see one that even was set as MM/DD/YYYY. Come on guys.....if this is how the formatting is based then add ONE that uses that format. Better still add one that uses MM/DD/YYYY and another that uses Month/Day/Year (ex January 01, 2023).

  • Here's a solution. You have to make a separate Smartsheet that has the month numbers and corresponding spelled out month names AND you have to have a year column with the 2 digit year and another column with the corresponding 4-digit year.

    You need to make sure that if the date is formatted as "08" then you need to put an apostrophe before the 08 ('08) for the index/match formula to read it. You have to do the same for the 2-digit year.

    In the main Smartsheet, you need to add 4 extra columns--Month, Day, Year, and the Helper column (this column will be the one you map to the pdf).

    The formulas to split out the date (mm/dd/yy) and produce what you want are as follows. Then it is just an easy formula to combine the 3 split out columns to create the actual date text.

    Month: =INDEX({Month}, MATCH(LEFT([Date of Letter]@row, 2), {Month Number}, 0))

    Day: =MID([Date of Letter]@row, 4, 2)

    Year: =INDEX({Year}, MATCH(RIGHT([Date of Letter]@row, 2), {Year Number}, 0))

    Date Helper: =Month@row + " " + Day@row + ", " + Year@row

    Screenshot 2023-07-21 170832.jpg
    Screenshot 2023-07-21 170801.jpg


    See attachments.

Sounds about right. Are you looking for some kind of guidance on a specific issue?<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":343,"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations","allowedDiscussionTypes":["discussion","question"]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":104380,"type":"question","name":"Questions about Bridge from a potential newbie","excerpt":"We are considering upgrading to Advance, and I have questions about Bridge capabilities: Our project blueprint includes multiple reports that pull entries from master logs based on the job number. This means that our admins have to add the job number to every single new report filter when they set up a project. Can Bridge…","snippet":"We are considering upgrading to Advance, and I have questions about Bridge capabilities: Our project blueprint includes multiple reports that pull entries from master logs based…","categoryID":343,"dateInserted":"2023-04-24T16:40:19+00:00","dateUpdated":"2023-04-24T17:41:23+00:00","dateLastComment":"2023-08-10T13:32:30+00:00","insertUserID":126351,"insertUser":{"userID":126351,"name":"Julie Fortney","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Julie%20Fortney","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!hZje4WgcMyQ!en9eZ1QFHfo!MFtz_rjuwYj","dateLastActive":"2023-08-11T13:16:34+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"updateUserID":126351,"lastUserID":157551,"lastUser":{"userID":157551,"name":"joaolima","url":"https:\/\/community.smartsheet.com\/profile\/joaolima","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wjEmP-PDuHo!29cn_0Oa5bo!j4rsSRTRcJb","dateLastActive":"2023-08-12T18:02:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":265,"score":null,"hot":3374032369,"url":"https:\/\/community.smartsheet.com\/discussion\/104380\/questions-about-bridge-from-a-potential-newbie","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/104380\/questions-about-bridge-from-a-potential-newbie","format":"Rich","tagIDs":[369],"lastPost":{"discussionID":104380,"commentID":390004,"name":"Re: Questions about Bridge from a potential newbie","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/390004#Comment_390004","dateInserted":"2023-08-10T13:32:30+00:00","insertUserID":157551,"insertUser":{"userID":157551,"name":"joaolima","url":"https:\/\/community.smartsheet.com\/profile\/joaolima","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wjEmP-PDuHo!29cn_0Oa5bo!j4rsSRTRcJb","dateLastActive":"2023-08-12T18:02:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-04-26T14:21:28+00:00","dateAnswered":"2023-04-26T02:30:08+00:00","acceptedAnswers":[{"commentID":373252,"body":"

Hey @Julie Fortney<\/a> <\/p>

I'll answer what I can and shout out to @Brian_Richardson<\/a> for back up. <\/p>

#1 Report Filters- To my knowledge there isn't a direct Report Filter update however I wondered if the column was a dropdown list - if so, Bridge can update dropdown lists and if the filter was set to select all it made me wonder if the filter would pick it up new selections. (Datashuttle also updates dropdown lists if this method works)<\/p>

#2 I've had problems with a slow sheet erroring out in Bridge. The sheet was massive and Bridge would time-out. Bridge did not help this sheet (it might have been too large for anything to help)<\/p>

#3 -I don't have any experience with Control Center, so sorry, I can't answer those questions<\/p>

My fav Bridge solutions?<\/p>

-Capturing Approver Names in approval workflows<\/p>

-Adding rows - same sheet, different sheets, Child rows to Parents, On a weekly cadence, Adding New rows of acquired data to a status update sheet which feeds into a dashboard report<\/p>

-Translating Employee Ideas from their native tongue to English<\/p>

-Checking FedEx Tracking Status on a sheet's worth of shipments<\/p>

I hope this helps<\/p>

Kelly<\/p>"},{"commentID":373322,"body":"

Hey @Julie Fortney<\/a> !<\/p>

  1. In general you cannot update reports with bridge or the API, you can only get report information and details. So unless you are able to come up with a different solution you may be out of luck. Although, if this is a control center program, you may be able to use \"Dynamic Reports\" which adds new sheets to reports every time a project is provisioned (and removes as projects are archived). <\/li>
  2. Maybe using JavaScript in bridge would help, hard to say. <\/li>
  3. Unfortunately not.. You can not programmatically retrieve a form link (Big functionality gap in my opinion). We have begged Smartsheet to dynamically update forms with control center. Also you can not update the contents of widgets in dashboards with bridge or the api.<\/li>
  4. You could definitely set up a solution to achieve this. It would involve using a summary sheet in your blueprint where the link to your template sheets is profile data on your summary sheet. From there you can get the sheet id for each project in bridge, loop through them and make updates.<\/li><\/ol>"},{"commentID":373373,"body":"

    @Kelly Moore<\/a> thanks for the shout out :-) but I'm not sure I can help more than what's already been posted. <\/p>

    @Julie Fortney<\/a> in general Bridge is an API tool. You can setup multi-branched workflows in Bridge with pre-set API calls and utilities. You can also do custom HTTP calls to any API that you have access to in the cloud. So anything you can do with API calls you can do with Bridge. It also, importantly, allows you to run Javascript code using the results of your API calls, and to trigger workflows on changes to Smartsheet content or on any other webhook that you can receive from other tools.<\/p>

    There's a fair amount of Smartsheet API methods that are prebuilt into Bridge, but not all of them. So if you're looking at the Bridge documentation for Smartsheet<\/a> integrations and not finding what you need, you can also look at the Smartsheet API documentation<\/a> to see if there's something there to help you out. If you find an API method to use that's not already pre-built as an integration, then you can use the Custom HTTP Call step to directly call the API. You just have to provide the Smartsheet API with an API token, which you can assign to yourself in your Personal Settings.<\/p>

    It looks like your specific questions were answered pretty comprehensively by Kelly and Samuel but here's my 2c:<\/p>

    1. Because you cannot adjust report filters using the Smartsheet API, you cannot do this with Bridge. Here's the Reports methods<\/a>. You might want to consider a workaround for the process of having reports hand-updated with new job numbers. Perhaps leverage a creation date or flag new items with a checkbox that's cleared once the conditions are met that would cause the project to fall back off the report? You can also explore the \"contact has any of current user\" filter to pick up specific jobs for the viewer?<\/li>
    2. You could definitely use Bridge to read one sheet on a schedule or trigger, perform calculations using Javascript or the included utilities, and post the results. It may be faster and more stable than a huge number of formulas in Smartsheet, but I'm not 100% sure it would be. I would probably first explore using Data Mesh, which is setup to do this in a much more friendly way. If you don't already use Data Mesh, it's basically a batch index\/match tool. <\/li>
    3. As Samuel said, there's no API for updating widgets on a dashboard or retrieving a form URL. Also, I tested copying a dashboard and sheet in a common folder, where the form link was embedded in the dash, and unfortunately it does not update the form link. Seems like a gap and would be a good enhancement request. You could potentially work around this by having a common sheet with the form to capture entries, have a dropdown in that form for the project name that you can keep updated with Bridge, do a lookup to the sheet ID that the entry should go to on a sheet that Bridge maintains, and then copy the form responses into the individual project sheets using Bridge. I know that's pretty roundabout.<\/li>
    4. As Samuel and Kelly said, you can push dropdown updates through Bridge, it works better than Data Shuttle. You wouldn't need to maintain a separate lookup sheet though, if you create a report that contains the dropdown columns across your various created sheets, and then read that report with Bridge, the return from the API includes the source sheet ID and column ID for each report row. You can then leverage that to point Bridge at the right columns across your sheets without having to maintain a separate lookup.<\/li><\/ol>

      At Iron Mountain we use Bridge for a variety of use cases, here's the most effective ones:<\/p>