You must Sign In to post a response.
  • Category: Windows 10

    Some clarifications requested

    Please clarify me on below points
    (1) can we install auto hot key in windows 10 env?
    (2) can we create windows scheduled tasks using logged in user?


    =======================

    if (context.MessageName == "Update")
    {
    postImage = (Entity)context.PostEntityImages["brb_PrePostImage1"]; //BRB_PostImage

    QueryExpression qry = new QueryExpression("appointment");
    qry.ColumnSet.AddColumns("requiredattendees", "scheduledstart", "scheduledend", "scheduleddurationminutes");
    qry.Criteria.AddCondition("activityid", ConditionOperator.Equal, apptEntity.Id);
    attendeeCollection = service.RetrieveMultiple(qry);

    }

    //Entity activityParty = new Entity("activityparty");
    var user = apptEntity.GetAttributeValue<EntityCollection>("requiredattendees");
    var date = DateTime.Now;
    foreach (var item in user.Entities)
    {
    EntityReference brUserId = null;
    //Guid requiredAttendee = ((EntityReference)item.Attributes["partyid"]).Id;
    Guid requiredAttendee = new Guid("299a647c-adad-4f10-a161-85cf60fb761c");

    QueryExpression brQry = new QueryExpression("bookableresource");
    brQry.ColumnSet.AddColumn("userid");
    ConditionExpression conditionBR1 = new ConditionExpression();
    conditionBR1.AttributeName = "bookableresourceid";
    conditionBR1.Operator = ConditionOperator.Equal;
    conditionBR1.Values.Add(requiredAttendee);
    FilterExpression filterBR = new FilterExpression();
    filterBR.Conditions.Add(conditionBR1);
    brQry.Criteria.AddFilter(filterBR);
    EntityCollection br = service.RetrieveMultiple(brQry);

    if (br != null && br.Entities.Count > 0)
    {
    brUserId = (EntityReference)br.Entities[0].Attributes["userid"];
    }
    if (brUserId.Id != Guid.Empty)
    {
    ConditionExpression conditionBRB1 = new ConditionExpression();
    conditionBRB1.AttributeName = "resource";
    conditionBRB1.Operator = ConditionOperator.Equal;
    conditionBRB1.Values.Add(requiredAttendee);

    ConditionExpression conditionBRB2 = new ConditionExpression();
    conditionBRB2.AttributeName = "statecode";
    conditionBRB2.Operator = ConditionOperator.Equal;
    conditionBRB2.Values.Add(1);

    FilterExpression filterBRB = new FilterExpression();
    filterBRB.Conditions.Add(conditionBRB1);
    filterBRB.Conditions.Add(conditionBRB2);
    QueryExpression qry = new QueryExpression("bookableresourcebooking");
    qry.ColumnSet.AddColumn("resource");
    qry.ColumnSet.AddColumn("statecode");

    qry.Criteria.AddFilter(filterBRB);

    EntityCollection brb = service.RetrieveMultiple(qry);
    if (brb != null && brb.Entities.Count != 0)
    {
    Entity brbCreate = new Entity("bookableresourcebooking");
    brbCreate["resource"] = new EntityReference("bookableresource", requiredAttendee);
    //brb["starttime"] = apptEntity.GetAttributeValue<string>("scheduledstart");
    if (postImage == null)
    {
    return;
    }
    brbCreate["starttime"] = postImage.GetAttributeValue<DateTime>("scheduledstart"); // apptEntity.Attributes["scheduledstart"];
    brbCreate["endtime"] = postImage.GetAttributeValue<DateTime>("scheduledend"); //apptEntity.Attributes["scheduledend"];

    //compare users
    List<Guid> userPre = preimage of requiredattendee;
    List<Guid> userPre = postimage of requiredattendee;
    Comparer and check extra reqattendee
    if BRB exists--> DeactivateBRB

    Guid BRB_Id = service.Create(brbCreate);
    }
    }
    //check requiredAttendee is BR
    //if (brUserId.Id == requiredAttendee)
    //{
    // //var resource = new EntityReference("bookableresource", new Guid("c4cf2c64-bce1-456a-a30d-55f9d7e6776f"));
    // var resource = new EntityReference("bookableresource", brUserId.Id);
    //}


    //// Check if BRB with same BR aleady exists and skip creation of BRB.
    //if ((EntityReference)brb.Attributes["resource"] == new EntityReference("appointment", new Guid("299a647c-adad-4f10-a161-85cf60fb761c")))
    //{
    // Guid BRB_Id = service.Create(brb);
    //}
    }
  • Estimation_for_Bank (346210-7-Estimation_for_Bank.pdf)
  • Yahoo_Notepad (346210-19-Yahoo_Notepad.docx)
  • KhataCert_Extract(Ashok) (346210-24-KhataCert_ExtractAshok.pdf)
  • LoD_ICC (346210-28-LoD_ICC.pdf)
  • KhataCert_Extract(Ashok) (346210-30-KhataCert_ExtractAshok.tif)
  • Ashok_669641428 (346210-34-Ashok_669641428.pdf)
  • ForeClosure(ICC) (346210-36-ForeClosureICC.pdf)
  • DTD_DocNo3978 (346210-37-DTD_DocNo3978.pdf)
  • OrientalInsurance_SiteNo27 (346210-38-OrientalInsurance_SiteNo27.pdf)
  • INS Glossary (346210-39-INS-Glossary.xls)
  • ForeClosure(ICC) (346210-40-ForeClosureICC.pdf)
  • EC_01-Apr-2002To31-Mar-2004 (346210-41-EC_01-Apr-2002To31-Mar-2004.pdf)
  • EC_01Apr2004 To 08Nov2011 (346210-42-EC_01Apr2004-To-08Nov2011.pdf)
  • EC_01Apr2009 To 29Dec2010 (346210-43-EC_01Apr2009-To-29Dec2010.pdf)
  • 346210-3-CollectiveInfo (346210-43-346210-3-CollectiveInfo.docx)
  • BBMP_TaxReciept2017-18 (346210-45-BBMP_TaxReciept2017-18.pdf)
  • Home_Vnk340_Pending_work (346210-46-Home_Vnk340_Pending_work.pdf)
  • ForeClosure(ICC) (346210-47-ForeClosureICC.pdf)
  • Ashok_DotNet (346210-49-Ashok_DotNet.docx)
  • Contacts (346210-50-Contacts.doc)
  • Contacts (346210-51-Contacts.pdf)
  • Contacts (346210-52-Contacts.xls)
  • SortedByContactName (346210-53-SortedByContactName.pdf)
  • MainWindow (346210-54-MainWindow.xaml)
  • MainWindow.xaml (346210-55-MainWindow.xaml.cs.txt)
  • FitToContent (346210-56-FitToContent.xaml)
  • FitToContent.xaml (346210-57-FitToContent.xaml.cs.txt)
  • IDBI_HL_Saction (346210-58-IDBI_HL_Saction.pdf)
  • IDBI_Topup_Saction (346210-59-IDBI_Topup_Saction.pdf)
  • sizer334 (346210-60-sizer334.msi)
  • CasteIncome_Manish (346210-61-CasteIncome_Manish.pdf)
  • PropertyDocs_2018 (346210-62-PropertyDocs_2018.zip)
  • SalSlip_FEB_2018 (346210-65-SalSlip_FEB_2018.pdf)
  • ICC_BankStm (346210-66-ICC_BankStm.pdf)
  • CementingELog (346210-67-CementingELog.docx)
  • Report3 (346210-68-Report3.rdlc)
  • Window1 (346210-69-Window1.xaml)
  • Window1.xaml (346210-70-Window1.xaml.cs.txt)
  • Infosys_F16_00629595_2017 (346210-71-Infosys_F16_00629595_2017.PDF)
  • Infosys_Sal_00629595_2017 (346210-72-Infosys_Sal_00629595_2017.PDF)
  • DegreeCertificate (346210-73-DegreeCertificate.pdf)
  • Empl Proof-Fortis (346210-74-Empl-Proof-Fortis.pdf)
  • BirthCert_Manoj (346210-75-BirthCert_Manoj.pdf)
  • Passport_Ashwini (346210-76-Passport_Ashwini.pdf)
  • Passport_Manoj (346210-77-Passport_Manoj.pdf)
  • Manish_Adhaar (346210-77-Manish_Adhaar.pdf)
  • Me_PANCard (346210-78-Me_PANCard.pdf)
  • Ash_Adhaar (346210-79-Ash_Adhaar.pdf)
  • Me_Passport (346210-79-Me_Passport.pdf)
  • StudyCertf_Manoj (346210-81-StudyCertf_Manoj.pdf)
  • BBMP_TaxReciept_2018-19 (346210-82-BBMP_TaxReciept_2018-19.pdf)
  • CRM_BestPractises (346210-83-CRM_BestPractises.docx)
  • Ashok_DotNet (346210-84-Ashok_DotNet.docx)
  • Adhar_Manish (346210-86-Adhar_Manish.pdf)
  • Ash_Adhaar (346210-87-Ash_Adhaar.pdf)
  • Me_PANCard (346210-88-Me_PANCard.pdf)
  • MarriageCertificate (346210-89-MarriageCertificate.pdf)
  • StudyCertf_Manoj (346210-90-StudyCertf_Manoj.pdf)
  • BirthCert_Manoj (346210-91-BirthCert_Manoj.pdf)
  • Ash_PANCard (346210-92-Ash_PANCard.pdf)
  • Ashok_PANCard (346210-93-Ashok_PANCard.pdf)
  • Hike_2018 (346210-94-Hike_2018.PDF)
  • Me_Passport_New (346210-95-Me_Passport_New.pdf)
  • Manish_Passport (346210-96-Manish_Passport.pdf)
  • Ash_Sbi_statement (346210-97-Ash_Sbi_statement.pdf)
  • MB2-703 Q_A (346210-98-MB2-703-Q_A.docx)
  • MB2-716 dumps (346210-99-MB2-716-dumps.docx)
  • Yahoo_Notepad (346210-100-Yahoo_Notepad.docx)
  • MSD CRM notes (346210-101-MSD-CRM-notes.pptx)
  • MB2_716 Sample Questions (Manju) (346210-102-MB2_716-Sample-Questions-Manju.docx)
  • MB2-716_80_Q&A (Manju) (346210-103-MB2-716_80_QA-Manju.docx)
  • MB2-703_Demo4 (346210-104-MB2-703_Demo4.html)
  • mb2-703_pdPractice (346210-105-mb2-703_pdPractice.pdf)
  • Microsoft.Exambible.MB2-716.practice.test.v2018-Apr-02.by.nick.87q.vce (346210-106-Microsoft.Exambible.MB2-716.practice.test.v2018-Apr-02.by.nick.8.pdf)
  • MB2-716_80_Q&A (VenkateshE) (346210-107-MB2-716_80_QA-VenkateshE.docx)
  • MSCertification_MB2-716 (346210-108-MSCertification_MB2-716.pdf)
  • MSCertification_MB2-716 (Transcript) (346210-109-MSCertification_MB2-716-Transcript.PDF)
  • Manish_BirthCertificate (346210-110-Manish_BirthCertificate.pdf)
  • StudyCertificate(Manish) (346210-111-StudyCertificateManish.pdf)
  • MB2-716_Transcript (346210-115-MB2-716_Transcript.PDF)
  • MB2-716_Certification (346210-116-MB2-716_Certification.pdf)
  • Correspondence Letter_CIC_Canada (346210-117-Correspondence-Letter_CIC_Canada.pdf)
  • Manoj_Adhaar_New (346210-118-Manoj_Adhaar_New.pdf)
  • CAN_Visa (346210-119-CAN_Visa.pdf)
  • Manoj_Adhaar_New (346210-120-Manoj_Adhaar_New.pdf)
  • Ash_Adhaar (346210-121-Ash_Adhaar.pdf)
  • BBMP_Plan_DD (346210-123-BBMP_Plan_DD.pdf)
  • BBMP_Plan_Receipt (346210-124-BBMP_Plan_Receipt.pdf)
  • Ashwini_Passport (346210-125-Ashwini_Passport.pdf)
  • Manoj_Passport (346210-126-Manoj_Passport.pdf)
  • BJ_doc_local (346210-127-BJ_doc_local.docx)
  • MarginReport (346210-128-MarginReport.rdl)
  • CRM_BestPractises (346210-129-CRM_BestPractises.docx)
  • Yahoo_Notepad (346210-132-Yahoo_Notepad.docx)
  • FieldTicket (346210-133-FieldTicket.rdl)
  • CRM migration(8.2 to 9.0) - Checklist (346210-134-CRM-migration8.2-to-9.0-Checklist.xlsx)
  • BJService_Doc (346210-135-BJService_Doc.docx)
  • Infy_Interview (346210-136-Infy_Interview.docx)
  • Ashok_DotNet (346210-137-Ashok_DotNet.docx)
  • #MB2-715 (346210-139-MB2-715.doc)
  • Me_HealthCheck_2019 (346210-140-Me_HealthCheck_2019.pdf)
  • 629595_JAN_2019 (346210-141-629595_JAN_2019.pdf)
  • 629595_DEC_2018 (346210-142-629595_DEC_2018.pdf)
  • MB2-715_90 QAs (346210-143-MB2-715_90-QAs.doc)
  • MB2-715_ScoreReport (346210-144-MB2-715_ScoreReport.pdf)
  • 629595_FEB_2019 (346210-145-629595_FEB_2019.pdf)
  • Ashok_DotNet_CRM (346210-146-Ashok_DotNet_CRM.docx)
  • Me_Adhaar_New (346210-147-Me_Adhaar_New.pdf)
  • Ashok_DotNet_CRM (346210-148-Ashok_DotNet_CRM.docx)
  • Agreement_Shivappa (346210-149-Agreement_Shivappa.pdf)
  • Bgm.site (346210-150-Bgm.site.zip)
  • NoHonking (346210-151-NoHonking.docx)
  • BTP (346210-152-BTP.html)
  • Me_HealthCheck_Report (346210-154-Me_HealthCheck_Report.pdf)
  • CRMQs_VisaAccount (346210-155-CRMQs_VisaAccount.txt)
  • CRMQs_VisaAccount (346210-156-CRMQs_VisaAccount.txt)
  • Ashok_DotNet_CRM (346210-157-Ashok_DotNet_CRM.docx)
  • SamsungTV_Bill (346210-158-SamsungTV_Bill.pdf)
  • Agreement_SF(Nirmala) (346210-159-Agreement_SFNirmala.pdf)
  • BBMP_Tax_2019_20 (346210-161-BBMP_Tax_2019_20.pdf)
  • Ashok_DotNet (346210-162-Ashok_DotNet.docx)
  • Ashok_CRM -Assignment (346210-164-Ashok_CRM-Assignment.docx)
  • Ashok_CRM - Assignment (346210-165-Ashok_CRM-Assignment.doc)
  • Ashok_CRM - Simple Hotel Booking Assignment v041 (346210-166-Ashok_CRM-Simple-Hotel-Booking-Assignment-v041.docx)
  • Ashok_CRM - Simple Hotel Booking Assignment v041 (346210-167-Ashok_CRM-Simple-Hotel-Booking-Assignment-v041.docx)
  • CRM-Assignment (346210-168-CRM-Assignment.docx)
  • Ashok_CRM-Simple-Hotel-Booking-Assignment-v05 (346210-169-Ashok_CRM-Simple-Hotel-Booking-Assignment-v05.doc)
  • RoomSolution_1_0 (346210-170-RoomSolution_1_0.zip)
  • OG-18-1701-4025-00001290 (346210-171-OG-18-1701-4025-00001290.pdf)
  • Reports (346210-172-Reports.zip)
  • Infosys_Annexure_00629595_2018 (346210-173-Infosys_Annexure_00629595_2018.PDF)
  • Infosys_F16_00629595_2018 (346210-174-Infosys_F16_00629595_2018.PDF)
  • Infosys_Sal_00629595_2018 (346210-175-Infosys_Sal_00629595_2018.PDF)
  • OG-18-1701-4025-00001290 (346210-176-OG-18-1701-4025-00001290.pdf)
  • 2019-07-03-18-54-40-707_1562160280707_XXXPN8848X_Acknowledgement (346210-177-2019-07-03-18-54-40-707_1562160280707_XXXPN8848X_Acknowledgement.zip)
  • Alok Rayaji- SMSR Kle Technological University (346210-178-Alok-Rayaji-SMSR-Kle-Technological-University.pdf)
  • RC_Book-P1 (346210-179-RC_Book-P1.pdf)
  • RC_Book_P2 (346210-180-RC_Book_P2.pdf)
  • Vedika(Ramya)resume (346210-181-VedikaRamyaresume.pdf)
  • Bike_Insurance (346210-182-Bike_Insurance.pdf)
  • Ashok_DotNet_CRM - 4yr (346210-183-Ashok_DotNet_CRM-4yr.docx)
  • DM_Integration_KingsWay_SSIS (346210-185-DM_Integration_KingsWay_SSIS.docx)
  • Passport (346210-187-Passport.pdf)
  • Certificate (346210-188-Certificate.pdf)
  • Infy-IDCard (346210-189-Infy-IDCard.docx)
  • Offer Letter (346210-190-Offer-Letter.pdf)
  • Evidence of company relationship (346210-191-Evidence-of-company-relationship.pdf)
  • Infosys Profile (346210-192-Infosys-Profile.pdf)
  • Proof that you Meet the Requirements of the Job Being Offered (346210-193-Proof-that-you-Meet-the-Requirements-of-the-Job-Being-Offered.pdf)
  • Employment_Docs (346210-194-Employment_Docs.zip)
  • JobOffer_Chimera (346210-195-JobOffer_Chimera.pdf)
  • Manoj-CCA (346210-196-Manoj-CCA.pdf)
  • report3 (346210-200-report3.zip)
  • JSSFees_Manish_2019 (346210-201-JSSFees_Manish_2019.pdf)
  • JSSFees_Manoj_2019 (346210-202-JSSFees_Manoj_2019.pdf)
  • KiranPatil (346210-203-KiranPatil.docx)
  • Ashok_DotNet_CRM1 (346210-204-Ashok_DotNet_CRM1.docx)
  • invoice714(1) (346210-205-invoice7141.pdf)
  • Accenture_ReleivingLetter (346210-206-Accenture_ReleivingLetter.pdf)
  • WorkDetails (346210-207-WorkDetails.txt)
  • Full Work-Education Profile(TCS Form) (346210-208-Full-Work-Education-ProfileTCS-Form.pdf)
  • Ashok_Documentation on Enhancements (346210-209-Ashok_Documentation-on-Enhancements.docx)
  • InternalInterviewQA (346210-210-InternalInterviewQA.docx)
  • Ashok_DotNet_CRM2 (346210-211-Ashok_DotNet_CRM2.docx)
  • Ashok_DotNet_CRM2 (346210-212-Ashok_DotNet_CRM2.docx)
  • Ashok_D365 (346210-213-Ashok_D365.docx)
  • DischargeCert (346210-214-DischargeCert.pdf)
  • Ash_INS (346210-215-Ash_INS.pdf)
  • Ash_RCBook (346210-216-Ash_RCBook.pdf)
  • #769584
    ??

    platforms.pdf

    Delete Attachment


  • Sign In to post your comments
    Submit New Thread
    Return to Return to Discussion Forum