Maciek Grischke

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 55 total)
  • Author
    Posts
  • in reply to: Calculation in rules #25191
    Maciek Grischke
    Participant

    Thanks for this!

    I had to apply this rule in the holiday request form because people book holidays with wrong dates <facepalm>

    Everything needs to be idiot proof lol

    in reply to: E-Mail active tab doesn't seem to work #25147
    Maciek Grischke
    Participant

    Thanks.

    I also added this bit to remove the gap left in front of the name.

    jQuery(".ms-imnlink").remove();
    in reply to: Issues when upgrading to DFFS_v4.4.3.65_2019-03-31 #25145
    Maciek Grischke
    Participant

    I’m afraid I experienced issues with the latest version too in one of my biggest form with lots of rules.

    Alexander I am happy to give you access to one of my test sites to see what’s actually happening.

    I had to go back to 4.4.3.35 to get the form working again. I just realised by reading this thread my form has gone wrong.

    On my test site, you will be able to compare the same list, V1 and V2. V1 installed with older DFFS and V2 installed with the latest DFFS.

    in reply to: Save for later Button #25139
    Maciek Grischke
    Participant

    Brilliant, this worked. I did try with dffs_editItemBtn, but I was missing the delay function. Thanks again as usual!

    in reply to: E-Mail active tab doesn't seem to work #25129
    Maciek Grischke
    Participant

    Hi Alexander,

    What I meant by conditions was:

    If Variable:Stop is Yes

    etc
    I’m just not sure what they do.

    Yes, this picture was from “email current tab” – the image you see next to my name is something to do with “my presence” – normally when you click on my name, you will be taken to Delve page about my profile.

    By default, there’s a small white square next to people’s name, when the email is sent, this white square becomes this huge image.

    This is the element when I click to inspect it:

    No presence information
    

    I can’t seem to paste this bit of code. Let me try again:

    <i m g name="imnmark" class="ms-spimn-img ms-spimn-presence-disconnected-10x10x32" title="" showofflinepawn="1" src="/_layouts/15/images/spimn.png?rev=46" alt="No presence information" sip="grischke@domain" id="imn_5410,type=sip" data-themekey="#">

    I also tried with FLOW and the issue with the image is the same.

    in reply to: Save for later Button #25104
    Maciek Grischke
    Participant

    Thanks,
    The only problem I have is that I can’t figure out what is the ID of Edit Button.

    I tried this (and few other IDs):

    // Insert button
    jQuery("input[id$='_editItem']").before("<input type='button' id='_editItemBtn' class='ms-ButtonHeightWidth' style='margin-right:4px;' value='Re-open this ticket' onclick='saveForLater()' />");
    

    but no luck 🙁

    in reply to: Set Todays Date&Time with JS using custom button #25101
    Maciek Grischke
    Participant

    Excellent!

    So here’s what I did:

    // Insert button if case is Open
    function showCloseButton() {
        jQuery("input[id$='_diidIOSaveItem']").before("<input type='button' id='CloseTicket' class='ms-ButtonHeightWidth' style='margin-right:4px;' value='Close this case' onclick='closeTicket()' />");            
    }
    
    function closeTicket(){
    	setFieldValue("Status","Closed");
    	setFieldValue("DUC",false);
    	var dateVal = new Date();
    	spjs.utility.setDateFieldFromDateObject("DateCompleted",dateVal,0);
    	spjs.dffs.triggerSave();
    }

    Thank you!

    in reply to: Set Name field with NewForm Author (Created By) #25099
    Maciek Grischke
    Participant

    Thanks Alexander. Obviously I had to upgrade DFFS to get the “table row” option.
    It works great!

    in reply to: E-Mail active tab doesn't seem to work #25096
    Maciek Grischke
    Participant

    I didn’t tick this option since I thought it would work without it on my Office 365.

    I am configuring the workflow now so I can test all options. I wonder if it would work with MS Flow hmm.

    Can you explain what those workflow conditions actually meant do?

    Please look at the email I got when I include “appended” noted field.

    How to troubleshoot this so maybe I don’t have to use the workflow?

    Thanks

    in reply to: Show/Hide custom buttons based on a field value #25058
    Maciek Grischke
    Participant

    Ok, I’ve managed to get it working by wrapping the jQuery inside a function and then calling the function with DFFS Rule.

    // Insert button if case is Open
    function showCloseButton() {
    // var statusValue = getFieldValue("Status");
    // if (statusValue = "Open") {
    jQuery("input[id$='_diidIOSaveItem']").before("<input type='button' id='CloseTicket' class='ms-ButtonHeightWidth' style='margin-right:4px;' value='Close this case' onclick='closeTicket()' />");
    // }
    }

    The above code could be used within different rules based on if else conditions, but in my case, I just called this function based on the rule condition, so sections I didn’t need I commented out.

    Hope this is the correct way for doing this.

    BTW, where can I read about what I can do with within DFFS using different JS tweaks? For example, setFieldValue, getFieldValue – I would like to know what is available to play with?

    in reply to: Save for later Button #25056
    Maciek Grischke
    Participant

    Hi Alexander,

    I think what I meant was to be able to re-open the previously closed ticket.

    I asked another question in a separate thread, but it’s for EditForm – I asked about hiding buttons based on fields values.

    I think once the ticket is closed, I will want to hide Edit Button or change it to Re-open ticket and set the Status value to Open, and to re-open the ticket, the user will only be able to do this from DispForm. Is it possible to do from DispForm?

    in reply to: Button Colors + on hover #24805
    Maciek Grischke
    Participant

    Thanks Alexander, this worked, but I added

    id='SaveForLater

    to Save for later button

    It looks like this now:

    jQuery("input[id$='_diidIOSaveItem']").before("<input type='button' id='SaveForLater' class='ms-ButtonHeightWidth' style='margin-right:4px;' value='Save for later' onclick='saveForLater()' />");

    Is this the correct way?

    in reply to: Save for later Button #24736
    Maciek Grischke
    Participant

    Alexander, is it possible to have “Save for later” button in DisplayForm?

    in reply to: Save for later Button #24729
    Maciek Grischke
    Participant

    Thanks Alexander,

    works beautifully 🙂

    I knew I could count on you.

    Many thanks, as always!

    in reply to: Multi column and multiline text field layout #24577
    Maciek Grischke
    Participant

    Hi Alexander,

    I want the last two date rows to be on the same level as MultiLine text field.

Viewing 15 posts - 31 through 45 (of 55 total)