• LinThaw
  • NEWBIE
  • 200 Points
  • Member since 2016
  • Developer

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 45
    Questions
  • 63
    Replies
Hi all,
is it possible to run the password encryption tool and save the result to a file?
Currently I use:
cd C:\SFDC\CHECK\Dataloader\bin 

encrypt.bat -e <password> "C:\SFDC\CHECK\Dataloader\key.txt" >..\encryptedPassword.txt
The resulting file contains
2016-03-24 12:51:22,701 INFO [main] security.EncryptionUtil main (EncryptionUtil.java:365) - <encrypted password>

Is it possible to only save the <encrypted password>?

Thanks in advance!
Hi there,

What is the best way to close tab or window by using javascript in any browsers ( IE FireFox, Chrome...)?

Condition:
Don't want to show window close confirm popup.

Thanks&Regards,
LinThaw
hi there,

JavaScript is not working in Browser,
But It work regularly until yesterday (October 18, 2017).

What is worng with js and jquery.

Regards,
LinThaw
hi,

Why soql query get only 250 records hit, even more records with equal conditions are exist?

Regards,
LinThaw
hi there,

How to regiter URL with Underscore in the remote settings?

e.g
http://test_wb.com

Regards
LinThaw.
Hi there

What is different between KnowledgeArticle and KnowledgeArticleVersion?

Regards,
LinThaw
  • September 01, 2017
  • Like
  • 0
Hi there,

Can we save only specific field of records in StandardSetController,
by using StandardSetController Save method.

Regards,
LinThaw
Hi there,

How many records can save using save method of StandardSetController.

I try with 10111 records, but there is no governor error found.

there is debug source...
List<TestObj__c> saveRecordList = new List<TestObj__c>();

String queryStr = 'Select id, Name, TestField__c From TestObj__c limit 10111';

ApexPages.StandardSetController saveRecordListSetCon = null;

saveRecordListSetCon = new ApexPages.StandardSetController(Database.query(queryStr));

saveRecordListSetCon.setPageSize(10111);

saveRecordList = saveRecordListSetCon.getRecords();

for(TestObj__c r : saveRecordList ){
    r.TestField__c = 'test10111';
}

saveRecordListSetCon.save();

Regards,
LinThaw
Hi,

I want to show sf calendar in my vf page as a part.
Here is source I am trying.

Page1
<apex:page >
    <style>
        #outer{
            overflow: hidden;
        }
        #inner{
            overflow: auto; 
            height: 600px;
            width: 600px;
        }
    </style>   
    <div id="outer">
        <div id="inner">
            <!-- some information here -->
            Hi
            <apex:include pageName="Page2" />
            Thanks
            <!-- some information here -->
        </div>
    </div>
</apex:page>

Page2
<apex:page action="/00U/c?isdtp=vw">
</apex:page>

I want to insert Page2 (calendar page) to Page1 (calendar div).
But Its only show Page2 and not Page1 data.

Is there anyway to implement like that?

Thanks,
Regards,
LinThaw
 
Hi 

How to get public calendar in vf (without header and sidebar) ? 
<apex:page controller="CalendarController" sidebar="false" showHeader="false" action="/00U/c?cType=1&cal_lkid={!calendarId}&md0={!YEAR(TODAY())}&md1={!MONTH(TODAY())-1}"> 

</apex:page>

--------------------

public with sharing class CalendarController {
    public String calendarId {get; set; }

    public CalendarController () {
        calendarId = '0237F0000017MNI';
    }
}


Thanks

Regards,
LinThaw
Hi 

I am using Messaging.sendEmail method.
What is maximun size of setPlainTextBody?

Thanks & Regards,
LinThaw
Hi there,

Can we control the access time of Sites for guest users?
NOT login time.

Regards,
LinThaw
Hi there,

How to retrieve all reports meta data using eclipse?
Is it possible?

Regards,
LinThaw
Hi,

How many email can send from Case (Send Mail)?
if TO address is an external address.
Is there maximun limit for per day?

Thanks 
Regards,
LinThaw
Hi,

Can we deploy only vf component to production,
if this component is using in other vf pages in production.

Thanks.
Regards
LinThaw
 
hi there,

Is there anyway to reset password for multiple users from apex?

the following can reset one user per transcation.
String newPassword = System.resetPassword(usrId ,false).getPassword();

Thanks in advance
LinThaw.
Hi there,

Can we change or create community URL
with external domain, for example;
Salesforce (force.com) community URL is https://testxxx-company-domain.force.com
but we want (existing external domain) https://testxxx-company-domain.com for community.

Is it possible?

Regards,
LinThaw 
 
Hi there,

How many custom link can add to custom component of home page?
http://​https://help.salesforce.com/articleView?siteLang=en_us&id=000005690&type=1

Regards,
LinThaw
Hi there,
I have to migrate (apex classes, objects, workflows etc,.) from one environment to another.
I will use ANT migration tool.
After deploying how to restore?
If there is best way pelase share me.
Regards,
LinThaw
hi there,

Why created date (time) is not show for object such as Activities but show for User in Report?
Is there any reason for salesforce documentation please share me.
https://help.salesforce.com/articleView?id=000176025&type=1

Regards,
LinThaw
hi there,

Is there another way to show time for Created Date,
without using custom field.

Regards,
LinThaw.
Hi there,

What is the best way to close tab or window by using javascript in any browsers ( IE FireFox, Chrome...)?

Condition:
Don't want to show window close confirm popup.

Thanks&Regards,
LinThaw
hi there,

JavaScript is not working in Browser,
But It work regularly until yesterday (October 18, 2017).

What is worng with js and jquery.

Regards,
LinThaw
hi,

Why soql query get only 250 records hit, even more records with equal conditions are exist?

Regards,
LinThaw
hi there,

How to regiter URL with Underscore in the remote settings?

e.g
http://test_wb.com

Regards
LinThaw.
Hi there

What is different between KnowledgeArticle and KnowledgeArticleVersion?

Regards,
LinThaw
  • September 01, 2017
  • Like
  • 0
Hi there,

Can we save only specific field of records in StandardSetController,
by using StandardSetController Save method.

Regards,
LinThaw
Hi there,

How many records can save using save method of StandardSetController.

I try with 10111 records, but there is no governor error found.

there is debug source...
List<TestObj__c> saveRecordList = new List<TestObj__c>();

String queryStr = 'Select id, Name, TestField__c From TestObj__c limit 10111';

ApexPages.StandardSetController saveRecordListSetCon = null;

saveRecordListSetCon = new ApexPages.StandardSetController(Database.query(queryStr));

saveRecordListSetCon.setPageSize(10111);

saveRecordList = saveRecordListSetCon.getRecords();

for(TestObj__c r : saveRecordList ){
    r.TestField__c = 'test10111';
}

saveRecordListSetCon.save();

Regards,
LinThaw
Hi,

I want to show sf calendar in my vf page as a part.
Here is source I am trying.

Page1
<apex:page >
    <style>
        #outer{
            overflow: hidden;
        }
        #inner{
            overflow: auto; 
            height: 600px;
            width: 600px;
        }
    </style>   
    <div id="outer">
        <div id="inner">
            <!-- some information here -->
            Hi
            <apex:include pageName="Page2" />
            Thanks
            <!-- some information here -->
        </div>
    </div>
</apex:page>

Page2
<apex:page action="/00U/c?isdtp=vw">
</apex:page>

I want to insert Page2 (calendar page) to Page1 (calendar div).
But Its only show Page2 and not Page1 data.

Is there anyway to implement like that?

Thanks,
Regards,
LinThaw
 
Hi 

How to get public calendar in vf (without header and sidebar) ? 
<apex:page controller="CalendarController" sidebar="false" showHeader="false" action="/00U/c?cType=1&cal_lkid={!calendarId}&md0={!YEAR(TODAY())}&md1={!MONTH(TODAY())-1}"> 

</apex:page>

--------------------

public with sharing class CalendarController {
    public String calendarId {get; set; }

    public CalendarController () {
        calendarId = '0237F0000017MNI';
    }
}


Thanks

Regards,
LinThaw
Hi 

I am using Messaging.sendEmail method.
What is maximun size of setPlainTextBody?

Thanks & Regards,
LinThaw
Hi there,

Can we control the access time of Sites for guest users?
NOT login time.

Regards,
LinThaw
Hi there,

How to retrieve all reports meta data using eclipse?
Is it possible?

Regards,
LinThaw
Hi,

How many email can send from Case (Send Mail)?
if TO address is an external address.
Is there maximun limit for per day?

Thanks 
Regards,
LinThaw
Hi,

Can we deploy only vf component to production,
if this component is using in other vf pages in production.

Thanks.
Regards
LinThaw
 
hi there,

Is there anyway to reset password for multiple users from apex?

the following can reset one user per transcation.
String newPassword = System.resetPassword(usrId ,false).getPassword();

Thanks in advance
LinThaw.

Hi,

 

I am not able to rerender my pageBlockButtons.Initially i will disable the button using apex variable on change of picklist in javascript iam calling action function and setting the value to false and rerenderin the pageblock button id.

 

It is not at all reflecting .I Apperciate your help.

 

below is my code

 

<apex:pageBlockButtons id="pageBlockButtons1" location="both" rendered="true">
<apex:actionRegion id="ButtonsRegion">
<apex:commandButton action="{!UpdatePriority}" disabled="{!submitflag}" id="SubmitButton" value="Update" rendered="true"/>
</apex:actionRegion>
</apex:pageBlockButtons>

 

<apex:pageBlockSection title="{!$Label.Update_Priority_Duedate}" id="EditPriorfieldsPB" collapsible="true" rendered="true">
<apex:repeat id="repeat1" value="{!$ObjectType.temp__c.FieldSets.EditPriority}" var="stdR0">
  <apex:inputfield id="userval" value="{!con[stdR0]}" required="{!OR(stdR0.required, stdR0.dbrequired)}" onChange="DateValidation(this.value,'{!stdR0.fieldPath}');" rendered="true"/>
  </apex:repeat>
</apex:pageBlockSection>

 

<apex:actionFunction name="jsDateValidation" action="{!actionFunDateValidations}" rerender="pageBlockButtons1" immediate="true">
 <apex:param assignTo="{!dateDetails}" value="" id="DateDetails" name="dateVal"/>
</apex:actionFunction>

 

 

 

https://bbh_webservices.cityofboston.gov/Secure/GetUserUrl Hi Friends, I am trying to register URL in the remote settings but it is not letting me register.It gives me an error Error: Unable to parse URI For Example if I use: https://Chicago_webservices. Error: Unable to parse URI However:if we change it to Https://Chicago.webservices then it accepts. Does it not let regiter URL with in the remote settings with Underscore?.Any idea about that.
  • October 25, 2012
  • Like
  • 0

how to create a Master-Detail relationship field it shows error

 

You cannot create a new Master-Detail relationship on an existing custom object if records already exist. You must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to Master-Detail.