• ShariqueUl_Bari
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 4
    Replies

Hi,

I want to access local files present in ShareDrive from Salesforce using a HYPERLINK. I'm not sure how to acheive this but I did find few articles on Google that say this might not be possible because the browsers disable this for some security purpose.

https://stackoverflow.com/questions/811570/how-do-i-make-a-file-hyperlink-that-works-in-both-ie-and-firefox
https://salesforce.stackexchange.com/questions/113720/open-a-local-file-providing-a-hyperlink-in-visualforce-page
https://developer.salesforce.com/forums/?id=9060G000000UWOLQA4

I need a confirmation around this, or better yet, a solution on how I can acheive this.

If I give file:///J: in the HYPERLINK, it doesn't work and if I remove the 'file' part, the link becomes https:// which won't work.

Thanks,

Sharique

Hi Everyone. I have a requirement where I need to use a Workflow time trigger to fire after 24 hours (1 day) of the criteria being met. But, this needs to consider Holidays and exclude them when executing the time trigger, for e.g. when the next day (since time trigger is set for 1 day, so next day) is a Holiday, it must fire after 2 days.

Note: We do not need to exclude weekends (Saturdays and Sundays) but only the Holidays must be excluded.

I have come accross some articles that talk about using a custom formula field and the time trigger to execute based on that formula field but most cases exclude weekends (which I do not want) as well and/or do not consider excluding Holidays.

Any ideas around how to acheive this will be largely helpful.

Thanks,
Sharique
Hi. I am getting the below error when importing a wsdl file into Salesforce. Please help how I can successfully import this. Attaching the wsdl below.

Error: Failed to parse wsdl: Parse error: Found invalid XML. could not determine namespace bound to element prefix xs (position: TEXT seen ...ment name="MissingDataException" type="tns:MissingDataException"/>... @5:74) 
 
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://util.services.web.cognity.bravogroup.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://util.services.web.cognity.bravogroup.com/" name="Util">
<types>
<xsd:schema>
<xs:element name="MissingDataException" type="tns:MissingDataException"/>
<xs:element name="ServiceException" type="tns:ServiceException"/>
<xs:complexType name="factor">
<xs:sequence>
<xs:element name="key" type="xs:string" minOccurs="0"/>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="node" type="xs:string" minOccurs="0"/>
<xs:element name="startDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="endDate" type="xs:dateTime" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ServiceException">
<xs:sequence>
<xs:element name="message" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Weight">
<xs:complexContent>
<xs:extension base="tns:posAsset">
<xs:sequence>
<xs:element name="weight" type="xs:double"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="posAsset" abstract="true">
<xs:sequence>
<xs:element name="asset" type="xs:string" minOccurs="0"/>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="strategy" type="xs:string" minOccurs="0"/>
<xs:element name="backfillUniverse" type="xs:string" minOccurs="0"/>
<xs:element name="backfillInstrument" type="xs:string" minOccurs="0"/>
<xs:element name="proxyType" type="xs:string" minOccurs="0"/>
<xs:element name="currency" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MissingDataException">
<xs:sequence>
<xs:element name="message" type="xs:string" minOccurs="0"/>
<xs:element name="params" type="tns:histMessageParams" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="histMessageParams">
<xs:complexContent>
<xs:extension base="tns:messageParams">
<xs:sequence>
<xs:element name="proxyCode" type="xs:string" minOccurs="0"/>
<xs:element name="RFCode" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="messageParams">
<xs:sequence>
<xs:element name="messageCode" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="pos">
<xs:sequence>
<xs:element name="asset" type="xs:string" minOccurs="0"/>
<xs:element name="quantity" type="xs:double"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="boundValue">
<xs:sequence>
<xs:element name="field" type="xs:string" minOccurs="0"/>
<xs:element name="value" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="dataInput" abstract="true">
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Amount">
<xs:complexContent>
<xs:extension base="tns:posAsset">
<xs:sequence>
<xs:element name="amount" type="xs:double"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="event">
<xs:sequence>
<xs:element name="errId" type="xs:int"/>
<xs:element name="data" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="message" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="pairStringDouble">
<xs:sequence>
<xs:element name="id" type="xs:string" minOccurs="0"/>
<xs:element name="value" type="xs:double" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="types">
<xs:sequence>
<xs:element name="t1" type="tns:pos" minOccurs="0"/>
<xs:element name="t2" type="ns1:dataEntry" minOccurs="0"/>
<xs:element name="t3" type="tns:dataInput" minOccurs="0"/>
<xs:element name="t31" type="tns:streamInput" minOccurs="0"/>
<xs:element name="t32" type="tns:fileInput" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="streamInput">
<xs:complexContent>
<xs:extension base="tns:dataInput">
<xs:sequence>
<xs:element name="data" type="xs:base64Binary" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="fileInput">
<xs:complexContent>
<xs:extension base="tns:dataInput">
<xs:sequence>
<xs:element name="fileName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ImportResult">
<xs:sequence>
<xs:element name="imported" type="xs:boolean"/>
<xs:element name="refID" type="xs:string" minOccurs="0"/>
<xs:element name="messages" type="tns:ImportMessage" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ImportMessage">
<xs:sequence>
<xs:element name="type" type="xs:int"/>
<xs:element name="data" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xsd:schema>
<xsd:schema>
<xs:complexType name="dataEntry">
<xs:sequence>
<xs:element name="time" type="xs:dateTime" minOccurs="0"/>
<xs:element name="value" type="xs:double"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="dataEntryArray" final="#all">
<xs:sequence>
<xs:element name="item" type="tns:dataEntry" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xsd:schema>
<xsd:schema>
<xs:complexType name="stringArray" final="#all">
<xs:sequence>
<xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xsd:schema>
</types>
<message name="refTYPES">
<part name="arg0" type="tns:types"></part>
</message>
<message name="refTYPESResponse"></message>
<message name="createPortfolio">
<part name="code" type="xsd:string"></part>
<part name="created" type="xsd:dateTime"></part>
<part name="currency" type="xsd:string"></part>
<part name="positions" type="tns:posArray"></part>
</message>
<message name="createPortfolioResponse">
<part name="portfolio" type="xsd:string"></part>
</message>
<message name="ServiceException">
<part name="fault" element="tns:ServiceException"></part>
</message>
<message name="echo"></message>
<message name="echoResponse"></message>
<message name="importDataEx">
<part name="importData" type="xsd:base64Binary"></part>
<part name="sources" type="tns:dataInputArray"></part>
</message>
<message name="importDataExResponse">
<part name="success" type="xsd:boolean"></part>
<part name="errors" type="xsd:string"></part>
</message>
<message name="echoUpload">
<part name="chunk" type="xsd:base64Binary"></part>
</message>
<message name="echoUploadResponse"></message>
<message name="getAllocations">
<part name="portfolio" type="xsd:string"></part>
<part name="date" type="xsd:dateTime"></part>
<part name="allocationType" type="xsd:string"></part>
</message>
<message name="getAllocationsResponse">
<part name="valid" type="tns:pairStringDoubleArray"></part>
</message>
<message name="getMeta">
<part name="name" type="xsd:string"></part>
</message>
<message name="getMetaResponse">
<part name="xml" type="xsd:base64Binary"></part>
</message>
<message name="clearPortfolio">
<part name="code" type="xsd:string"></part>
</message>
<message name="clearPortfolioResponse"></message>
<message name="createHistoricalStressTest">
<part name="stressTestKey" type="xsd:string"></part>
<part name="stressTestName" type="xsd:string"></part>
<part name="factorModelKey" type="xsd:string"></part>
<part name="startDate" type="xsd:dateTime"></part>
<part name="endDate" type="xsd:dateTime"></part>
</message>
<message name="createHistoricalStressTestResponse"></message>
<message name="createFactorModel">
<part name="factorModelKey" type="xsd:string"></part>
<part name="factorModelName" type="xsd:string"></part>
<part name="factorKeys" type="stringArray"></part>
</message>
<message name="createFactorModelResponse"></message>
<message name="updateUserSettings">
<part name="group" type="xsd:string"></part>
<part name="user" type="xsd:string"></part>
<part name="params" type="tns:boundValueArray"></part>
</message>
<message name="updateUserSettingsResponse"></message>
<message name="getAvailableFactors"></message>
<message name="getAvailableFactorsResponse">
<part name="factors" type="tns:factorArray"></part>
</message>
<message name="getPortfolioAllocations">
<part name="portfolio" type="xsd:string"></part>
<part name="date" type="xsd:dateTime"></part>
<part name="allocationType" type="xsd:string"></part>
</message>
<message name="getPortfolioAllocationsResponse">
<part name="allocations" type="tns:pairStringDoubleArray"></part>
</message>
<message name="checkHistoricalData">
<part name="calculation" type="xsd:base64Binary"></part>
<part name="factors" type="stringArray"></part>
</message>
<message name="checkHistoricalDataResponse">
<part name="valid" type="stringArray"></part>
</message>
<message name="createPortfolioByWeights">
<part name="code" type="xsd:string"></part>
<part name="weights" type="tns:WeightArray"></part>
<part name="exposure" type="xsd:double"></part>
</message>
<message name="createPortfolioByWeightsResponse">
<part name="portfolio" type="xsd:string"></part>
</message>
<portType name="Util">
<operation name="importDataEx" parameterOrder="importData sources errors">
<input wsam:Action="http://util.services.web.cognity.bravogroup.com/Util/importDataExRequest" message="tns:importDataEx"></input>
<output wsam:Action="http://util.services.web.cognity.bravogroup.com/Util/importDataExResponse" message="tns:importDataExResponse"></output>
<fault message="tns:ServiceException" name="ServiceException" wsam:Action="http://util.services.web.cognity.bravogroup.com/Util/importDataEx/Fault/ServiceException"></fault>
</operation>
<operation name="importData" parameterOrder="importData sources">
<input wsam:Action="http://util.services.web.cognity.bravogroup.com/Util/importDataRequest" message="tns:importData"></input>
<output wsam:Action="http://util.services.web.cognity.bravogroup.com/Util/importDataResponse" message="tns:importDataResponse"></output>
<fault message="tns:ServiceException" name="ServiceException" wsam:Action="http://util.services.web.cognity.bravogroup.com/Util/importData/Fault/ServiceException"></fault>
</operation>
</portType>
<binding name="UtilPortBinding" type="tns:Util">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"></soap:binding>
<operation name="refTYPES">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
</operation>
<operation name="createPortfolio">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="echo">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
</operation>
<operation name="importDataEx">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="echoUpload">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
</operation>
<operation name="getAllocations">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="getMeta">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="importData">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="echoDownload">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
</operation>
<operation name="getModelFactors">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="createRiskModel">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="mergeRiskNodes">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="clearPortfolio">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="createHistoricalStressTest">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="createFactorModel">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="updateUserSettings">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="getAvailableFactors">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="getPortfolioAllocations">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="checkHistoricalData">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="createConditionalStressTest">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
<fault name="MissingDataException">
<soap:fault name="MissingDataException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="getUserLicenseLevel">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="importDefAndTSTableData">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="createPortfolioByAmounts">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="insertHistoricalData">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
<operation name="createPortfolioByWeights">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</input>
<output>
<soap:body use="literal" namespace="http://util.services.web.cognity.bravogroup.com/"></soap:body>
</output>
<fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"></soap:fault>
</fault>
</operation>
</binding>
<service name="Util">
<port name="UtilPort" binding="tns:UtilPortBinding">
<soap:address location="http://capgroup.cognity.net:80/Cognity/svc/util"></soap:address>
</port>
</service>
</definitions>

Thanks,
Sharique
Hi All,

I'd like to fire an Approval Process from code and I also want to control the approvers dynamically i.e. as per different conditions, the approvers for each stage needs to be set dynamically for that Approval Process. Any ideas around how to acheive this would be largely helpful.

Regards,
Sharique
Hi Everybody,

The 'Last' >> button (see below) on the Manage Members page for adding/updating/removing Campgin Members doesn't work.

User-added image

As we can see, it seems like it is not active or is not enabled or the funtionality doesn't exist at all. Please see a complete picture below which also shows that the Next button is both active and works! Facing this issue with in Campaigns with their respective Manage Members page (CampaignManageMembersExistingTab). First, Previous, and Next buttons are working fine.

User-added image

Can someone please throw some light around this - is this a known behaviours or, best yet, how to fix this. I have no idea why this happens and this has been reported as a Production issue.

P.S.: I see an open idea in this direction but this doesn't talk about this issue in particular.
https://success.salesforce.com/ideaview?id=08730000000H4ylAAC

Thanks,
Sharique

Hi,

Do we have a way to apply a lookup filter on a standard lookup field?

I have a lookup field on Campaign - Lookup(Record Type) - to show its child, Campaign Member's, Record Type (I am provisioning the users to select both Campaign and Campaign Member Record Type while creating the Campaign record itself, and hence the child Record Type is defined). However, I want to restrict this lookup field to a specific child Record Type subject to parent Record Type selection.

I can even think of other ways of going around this like apply some dependent picklist in the Record Type selection page itself so only the desired Campaign Member Record Type is available for selection when a particular Campaign Record Type is selected. 

Thanks,
Sharique

Hi Everyone. I have a requirement where I need to use a Workflow time trigger to fire after 24 hours (1 day) of the criteria being met. But, this needs to consider Holidays and exclude them when executing the time trigger, for e.g. when the next day (since time trigger is set for 1 day, so next day) is a Holiday, it must fire after 2 days.

Note: We do not need to exclude weekends (Saturdays and Sundays) but only the Holidays must be excluded.

I have come accross some articles that talk about using a custom formula field and the time trigger to execute based on that formula field but most cases exclude weekends (which I do not want) as well and/or do not consider excluding Holidays.

Any ideas around how to acheive this will be largely helpful.

Thanks,
Sharique

Hi,

Do we have a way to apply a lookup filter on a standard lookup field?

I have a lookup field on Campaign - Lookup(Record Type) - to show its child, Campaign Member's, Record Type (I am provisioning the users to select both Campaign and Campaign Member Record Type while creating the Campaign record itself, and hence the child Record Type is defined). However, I want to restrict this lookup field to a specific child Record Type subject to parent Record Type selection.

I can even think of other ways of going around this like apply some dependent picklist in the Record Type selection page itself so only the desired Campaign Member Record Type is available for selection when a particular Campaign Record Type is selected. 

Thanks,
Sharique