• Swapnil Patne 20
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 11
    Replies
Hi there,

We have xml files attached to a custom object as attachments and I want to export those files in their original format i.e. xml - how do I export those files out of SF in xml format? 

Can you please guide me? 

Thanks in advance. 

Swapnil 
Hi there,

I trying to write a formula which looks at 2 conditions - Blank value & Picklist values and then calculates the amount

Formula statement is - 
If Capped Days = 'Null'  And
Charge Rate Type = 'Daily' then Contract_value__c = WD__c * DM__c
OR
Charge Rate Type = 'Hourly' then Contract_value__c = WD__C * 8 * DM__c
OR
Charge Rate Type = 'Null' then Contract_value__c = WD__C * DM__c

If Capped Days = 'Not Null' And
Charge Rate Type = 'Daily' then Contract value = Capped_Days__c * DM__c
OR
Charge Rate Type = 'Hourly' then Contract value = Capped_Days__c * 8 * DM__c
OR
Charge Rate Type = 'Null' then Contract_value__c = Capped_Days__C * DM__c

I tried many times but failed to come up a working formula, please can someone help me with it? Any questions please post.

Thanks in advance. 

Swapnil
Hi,

Please can someone help with rectifying the error- surely I am missing something? Managed to create this formula to make fields required if certian picklist values are selected, but for some reasons it is not working.. (able to save the record without a value in required fields). Not sure if it is beacuse of type of fields as mentioned below in comments. 

AND( 
OR( 
ISPICKVAL(Contact_Status__c, "Unqualified / Inactive"), 
ISPICKVAL(Contact_Status__c,"Qualified & Actively looking"), 
ISPICKVAL(Contact_Status__c, "Passive C"), 
ISPICKVAL(Contact_Status__c,"Placed By Us"), 
ISPICKVAL(Contact_Status__c, "Contracting For Us")), 

AND ( 
ISBLANK(User_Group__c), [is a multi-picklist]
ISBLANK(TEXT(Domain__c)), [is a picklist] 
ISBLANK(TEXT(Industry__c)), [is a picklist] 
ISBLANK(Technology_Skills__c)))  [is a multi-picklist]

Would really appreciate your help here.

Thanks in advance.

Swapnil
 
Hi all,

I have a command button on a Visualforce page and upon click the URL should open in an iFrame i.e. a web page inside an iFrame 

Idea is to display 'Button' on VF page and below that iFrame (both in VF page) and upon clicking the button it opens the URL/web page in an iFrame..

My development expertise are very limited and I've been researching and learning how to do things, but here is my code I am working.. please can you help me resolve the issue or with the correct code..?

<apex:page sidebar="False">

<apex:form >
  <apex:commandButton onclick="toGoogle();" value="Google"/>
 </apex:form>
 
  <script>
   function toGoogle() {

        redirectTo('http://www.google.com');
    }

   
    function redirectTo(target) {

        if (inIframe()) {
           // step out of an iframe (if opened via iframe)
            window.top.location.href = target;
            return false;
        } else {
          window.location.href = target;
        }
    }

    function inIframe() {
        try {
            return window.self !== window.top;
        } catch (e) {
            return true;
        }
    }
  </script> -->

</apex:page>

Thanks in advance.

Swapnil 
Hi,

I have a VF page called "“Candidate_SpeculativeCVSend”" and want to make it available for global actions, but for some reason it doesn't appear under selection option (see attached picture).

Strangely other VF pages are available but the above. Can someone assist on what could be the reason for the above issue? Is is this something related to setting on VF page etc?

Appreciate help in advance.

Thanks,
Swapnil
All other VF pages are available but "“Candidate_SpeculativeCVSend"" is not..
 
Hi there,

I trying to write a formula which looks at 2 conditions - Blank value & Picklist values and then calculates the amount

Formula statement is - 
If Capped Days = 'Null'  And
Charge Rate Type = 'Daily' then Contract_value__c = WD__c * DM__c
OR
Charge Rate Type = 'Hourly' then Contract_value__c = WD__C * 8 * DM__c
OR
Charge Rate Type = 'Null' then Contract_value__c = WD__C * DM__c

If Capped Days = 'Not Null' And
Charge Rate Type = 'Daily' then Contract value = Capped_Days__c * DM__c
OR
Charge Rate Type = 'Hourly' then Contract value = Capped_Days__c * 8 * DM__c
OR
Charge Rate Type = 'Null' then Contract_value__c = Capped_Days__C * DM__c

I tried many times but failed to come up a working formula, please can someone help me with it? Any questions please post.

Thanks in advance. 

Swapnil
Hello community

I'm struggling with a small error which I can't seem to find an answer to. Can you help?

[{"message":"bad value for restricted picklist field: Bristol","errorCode":"INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST","fields":["RM_Region__c"]}]

There are scores of picklist values within "RM_Region__c". For some reason, "Bristol" is being rejected.

The closest I can get to a possible answer is that "Bristol" needs to be allocated somewhere for it to work?

I'd really appreciate any ideas the community have.

Many thanks and look forward to hearing from you.
Hi,

Please can someone help with rectifying the error- surely I am missing something? Managed to create this formula to make fields required if certian picklist values are selected, but for some reasons it is not working.. (able to save the record without a value in required fields). Not sure if it is beacuse of type of fields as mentioned below in comments. 

AND( 
OR( 
ISPICKVAL(Contact_Status__c, "Unqualified / Inactive"), 
ISPICKVAL(Contact_Status__c,"Qualified & Actively looking"), 
ISPICKVAL(Contact_Status__c, "Passive C"), 
ISPICKVAL(Contact_Status__c,"Placed By Us"), 
ISPICKVAL(Contact_Status__c, "Contracting For Us")), 

AND ( 
ISBLANK(User_Group__c), [is a multi-picklist]
ISBLANK(TEXT(Domain__c)), [is a picklist] 
ISBLANK(TEXT(Industry__c)), [is a picklist] 
ISBLANK(Technology_Skills__c)))  [is a multi-picklist]

Would really appreciate your help here.

Thanks in advance.

Swapnil
 
Hi,

I have a VF page called "“Candidate_SpeculativeCVSend”" and want to make it available for global actions, but for some reason it doesn't appear under selection option (see attached picture).

Strangely other VF pages are available but the above. Can someone assist on what could be the reason for the above issue? Is is this something related to setting on VF page etc?

Appreciate help in advance.

Thanks,
Swapnil
All other VF pages are available but "“Candidate_SpeculativeCVSend"" is not..
 

Hi I have a command link on a Visualforce page and I need to open another VF page as a popup window on click of the commnad link.

This is my Commnad link in the main VF page.

<apex:CommandLink Value="Select Product" onclick="window.open('/apex/oppprdpage?id={!as.lnkass.SalesOpportunityId__c}')"/>

Right now, on click of this link the new page is opening as a new tab but I need to open the new VF page as a popup window. Is there any way that I can achieve this?  (Basically I am trying to replicate the standard lookup window).


Thank You in advance for your help!!

 

Regards,

Sravan.

I have 2 page blocks, 

first page blocks have out put links 

I need to show them in second page block

I am not sure how to do this requirement.

Can you please answer me 

 

<apex:page sidebar="false" showHeader="true">

<apex:form >
 <apex:pageBlock >
<apex:pageBlockSection collapsible="true" Title="Pre-Award Tools" columns="1">

<apex:outputLink value="http://www.gooogle.com">goole</apex:outputLink>

 


 <apex:pageBlock />

<apex:pageblock>

If user clicks the link i want to show google page in page block2 , how can i achive this requirement.

<apex:pageblock/>

<apex:form />

<apex:page />