• afoxmicroedge
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 14
    Replies

Is there any way to discover information about CRM Content Subscriptions. I need to find which users are subscribed to a certain CRM Content Tag.

Doing a cleanup of all the Documents in our Salesforce Libraries which are exposed to our Customer Portal users. 

 

Cleaning up the Tags. We had a tag in our system which was in the wrong case. It is all lower case and want it to be all upper case (it is name of one of our products which is a 4 letter acronymn so it looks really messy in all lower case next to our other products which are correctly all upper case).

 

I have gone through an Export of all ContentVersion docs and have deleted the unwanted tag from every instance.

 

Still, when trying to enter this tag on a document in all upper case it reverts back to all lower case. 

 

What are my options? Am I just permenantly stuck with this all lowercase tag?

Hello-

 

I have created a custom search page for use in our Customer Portal. I want to track what customers are searching for so have created a custom object Search_Log__c.  Each time somebody executes search I want to create a new record on this custom object populating a field Search_term__c on the custom object with whatever they search for. 

 

I am having trouble figuring out how to go about doing this. Haven't found relevant documentation or message board posts that have guided me in right direction yet. 

 

Relevant code from VF page:

  <div id="search-box">
   <form name="frmSearch" id="search-form">
      <script type="text/javascript">
       function noenter(e){
            if(window.event){
            key = window.event.keyCode; 
            } else{
            key = e.which; //firefox
            }
            if(key == 13) {
            var ele=document.getElementById("search-button");
            ele.click();
            return false;
            } else{
            return true;
             }
           }
    </script> 
      <input type="text" id="search-text" name="searchText" value="{!portalSearchModel.searchTerm}" onkeypress="return noenter(event);" placeholder="What are you looking for?" />
      <input type="button" id="search-button" name="btnSearch" value="Search" onclick="insertSearchTerm()" />
  </form>
 </div>


<script type='text/javascript'> <!--executes search by passing search term to URL-->
    function insertSearchTerm(){
        var searchTerm = document.getElementById("search-text").value; 
        var url="https://c.na11.visual.force.com/apex/portalcasesearch?s="+searchTerm; 
        window.location = url; 
        return false;
    }                
</script>

 

Controller:

public with sharing class PortalCaseSearchUserContExt {
    
    public final PortalCaseSearchModel portalSearchModel { get; private set; }
    
    public Boolean disableSearch { get; private set; }
             
    public String getSearchTerm(){
         
         if(ApexPages.currentPage().getParameters().get('searchTerm') != null){
             portalSearchModel.searchTerm = ApexPages.currentPage().getParameters().get('searchTerm');
         }
         portalSearchModel.searches();
         //Search_Term__c st = new Search_Term__c();
         //st.Search_Term = portalSearchModel.searchTerm;
         //st.User__c
         //User u = [Select id from user where id =: UserInfo.getUserId()];
         return portalSearchModel.searchTerm;
     }
    
    public PortalCaseSearchUserContExt(ApexPages.StandardController controller) {
        this.disableSearch = false;
        try {
          this.portalSearchModel = new PortalCaseSearchModel((User)controller.getRecord());
          /*If(UserInfo.getProfileId == '00eA0000000rUFC'){
              product = 'GIFTS';
          }else if(UserInfo.getProfileId == '00eA0000000rTWS'){
              product = 'FIMS';
          }*/
          
        } catch(PortalSearchException searchException) {
          ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.FATAL, searchException.getMessage()));
          this.disableSearch = true;
        }
    }
     static testMethod void searchTest(){
        whiteSpaceTracking.setAlreadyCreatedWSP();
        User u = [SELECT Id, Name FROM User WHERE Id=:UserInfo.getUserId()];
        ApexPages.StandardController er = new ApexPages.standardController(u);
        PortalCaseSearchUserContExt psmer = new PortalCaseSearchUserContExt(er);
        System.currentPageReference().getParameters().put('s', 't');
        //System.currentPageReference().getParameters().put('bad', 't');
        ApexPages.StandardController sh = new ApexPages.standardController(u);
        PortalCaseSearchUserContExt psmsh = new PortalCaseSearchUserContExt(sh);
        System.currentPageReference().getParameters().put('s', 'test');
        ApexPages.StandardController sc = new ApexPages.standardController(u);
        PortalCaseSearchUserContExt psm = new PortalCaseSearchUserContExt(sc);
        psm.portalSearchModel.solutionSearch.nextSolutions();
        psm.portalSearchModel.solutionSearch.previousSolutions();
        psm.portalSearchModel.solutionAPSearch.nextSolutions();
        psm.portalSearchModel.solutionAPSearch.previousSolutions();
        psm.portalSearchModel.solutionFIMSSearch.nextSolutions();
        psm.portalSearchModel.solutionFIMSSearch.previousSolutions();
        psm.portalSearchModel.ideaSearch.nextIdeas();
        psm.portalSearchModel.ideaSearch.previousIdeas();
        psm.portalSearchModel.ideaFIMSSearch.nextIdeas();
        psm.portalSearchModel.ideaFIMSSearch.previousIdeas();
        psm.portalSearchModel.ideaAPSearch.nextIdeas();
        psm.portalSearchModel.ideaAPSearch.previousIdeas();
        //psm.portalSearchModel.questionSearch.nextQuestions();
        //psm.portalSearchModel.questionSearch.previousQuestions();
        //psm.portalSearchModel.replySearch.nextReplies();
        //psm.portalSearchModel.replySearch.previousReplies();
        psm.portalSearchModel.caseFIMSSearch.nextCases();
        psm.portalSearchModel.caseFIMSSearch.previousCases();
        psm.portalSearchModel.caseAPSearch.nextCases();
        psm.portalSearchModel.caseAPSearch.previousCases();
        psm.portalSearchModel.caseSearch.nextCases();
        psm.portalSearchModel.caseSearch.previousCases();
        psm.portalSearchModel.caseSearch.nextCases();
        
        psm.getSearchTerm();
        
        DictionarySearch ds = new DictionarySearch('test');
        ds.getSynonymSearchWords();
        ApexPages.currentPage().getParameters().put('searchTerm','test');

 

Hello,

 

I have a html form with a text field and button. When button is clicked some JavaScript is executed that puts the search term in the URL.  I wan't to trigger this button click event by user pressing enter as well...

 

    <script type='text/javascript'> 
        function insertSearchTerm(){
            var searchTerm = document.getElementById("keyword").value; 
            var url="https://c.na11.visual.force.com/apex/portalcasesearch?s="+searchTerm; 
            window.location = url; 
            return false;
        }         
        
    </script>

 

 

      <form name="frmSearch">
          <input type="text" style="width:85%; height:25px;margin:0; padding: 0px 6px 0px;" name="keyword" id="keyword" />
          <input type="button" id="btnSearch" name="btnSearch" value="Search" onclick="insertSearchTerm()"  />
      </form>

 

 

I tried this but I really have no idea what I am doing when it comes to jQuery...

 

    <apex:includeScript value="{!$Resource.Jquery}" />
    <script>

        $j = jQuery.noConflict();
        ("#keyword").keyup(function(event){
            if(event.keyCode == 13){
            jQuery("#btnSearch").click();
            }
        });
    
    </script>
     

 

 

 

I am building a custom search page. I need to pass the value entered in the input text to url parameter to exexcute the search. Right now if I manually enter search term in URL it will execute the search i.e. /apex/portalcasesearch?s=testsearchterm will return page with results for testsearchterm and the value of testsearchterm will show in inputextarea. So it seems I have it backwards at the moment. Is there a way to do this without using JavaScript or jQuery? Willing to start from scratch if anybody has an idea of how to accomplish this. I am a beginner so I may be missing a very fundamental aspect and just don't realize it. 

 

VF Page

<apex:page id="portalCaseSearch"
    standardController="User" 
    extensions="PortalCaseSearchUserContExt"
    title="Search ~ Customer Portal" 
    sidebar="false">

  <apex:stylesheet value="{!$Resource.Jquery_css}"/>

  <style type="text/css">
    .newCase{
        background-color: white;
        border-width: 2px;
        border-style: solid;
        z-index: 9999;
        left: 50%;
        padding:10px 10px 20px 10px;
        position: absolute; 
        //width: 800px;
        //height: 500px;
        margin-top: center;
        margin-left: -400px;
        top:100px;
    }
    .newCaseBackground{
        background-color:black;
        opacity: 0.20;
        filter: alpha(opacity = 20);
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 9998;
    }
  </style>
  
   <script type="text/javascript">
  function insertSearchParam(){
    var val = document.getElementById("{!$Component.searchinput}").value;
    document.location.search = "?s=" + val;
    searches();
}
document.getElementById("{!$Component.searchinput}").onkeypress = function(e){
    if (!e) e = window.event;  
    if (e.keyCode == '13'){
      insertSearchParam();
      return false;
    }
  }
</script>
  
  <body id="bodyPortalCaseSearch">
   <apex:form id="frmPortalCaseSearch">
    <apex:pageBlock id="pbPortalCaseSearch">

     <div class="table">
      <div class="tableRow">       
       <div id="searchDiv" class="tableCell">
         <apex:inputText id="searchinput" style="width:85%; height:25px;margin:0; padding: 0px 6px 0px;" title="Portal_Search_Phrase" value="{!portalSearchModel.searchTerm}"/>
         <apex:commandLink id="goSearch" title="Search"  style="text-decoration:none;" rerender="opResultsBlock">Search
             <apex:param name="searchTerm" value="{!portalSearchModel.searchTerm}"/>
         </apex:commandLink>

 

Controller:

 

public class PortalCaseSearchModel {
    
    public String searchTerm { get; set; }

    public transient QuestionSearch questionSearch { get; private set; }
    public transient QuestionFIMSSearch questionFIMSSearch { get; private set; }
    public transient QuestionAPSearch questionAPSearch { get; private set; }
    public transient ReplySearch replySearch { get; private set; } 
    public transient ReplyFIMSSearch replyFIMSSearch { get; private set; }
    public transient ReplyAPSearch replyAPSearch { get; private set; } 
    public transient SolutionSearch solutionSearch { get; private set; }
    public transient SolutionFIMSSearch solutionFIMSSearch { get; private set; }
    public transient SolutionAPSearch solutionAPSearch { get; private set; }
    public transient IdeaSearch ideaSearch { get; private set; }
    public transient IdeaFIMSSearch ideaFIMSSearch { get; private set; }
    public transient IdeaAPSearch ideaAPSearch { get; private set; }
    public transient CaseSearch caseSearch { get; private set; }
    public transient CaseFIMSSearch caseFIMSSearch { get; private set; }
    public transient CaseAPSearch caseAPSearch { get; private set; }
    public transient ContentSearch contentSearch { get; private set; }
    public transient ContentFIMSSearch contentFIMSSearch { get; private set; }
    public transient ContentAPSearch contentAPSearch { get; private set; }
    
    private final UserModel portalUserModel;
    
    public PortalCaseSearchModel(User portalUser) {
      final Map<String,String> urlParameters = ApexPages.currentPage().getParameters();   
        if(!urlParameters.containsKey('s')) {
          throw new PortalSearchException('No URL Parameters?!?');
        }
        
        if(urlParameters.size() != 1) {
          throw new PortalSearchException('More than two URL Parameters?!?');
        }
        
        this.searchTerm = urlParameters.get('s');       
        if(this.searchTerm.length() <= 1) {
          throw new PortalSearchException('Search Term has to be 2 characters or greater!');
        }
        this.portalUserModel = new UserModel(portalUser);        
        final DictionarySearch dictionarySearch = new DictionarySearch(this.searchTerm);

        
public void searches(){
    questionSearch.search();
    questionFIMSSearch.search();
    questionAPSearch.search();
    replySearch.search();
    replyFIMSSearch.search();
    replyAPSearch.search();
    solutionSearch.search();
    solutionFIMSSearch.search();
    solutionAPSearch.search();
    ideaSearch.search();
    ideaFIMSSearch.search();
    ideaAPSearch.search();
    caseSearch.search();
    caseFIMSSearch.search();
    caseAPSearch.search();
    contentSearch.search();  
    contentFIMSSearch.search();
    contentAPSearch.search(); 
}
    }

 

I am building a custom search VF page. I have an inputText area where user enters search term. When they hit enter I wan't to pass that value to URL so it looks like /apex/PageName?s=ValueEntered

 

This is what I have so far which isn't working. Any guidance?

 

  <body id="bodyPortalCaseSearch">
   <apex:form id="frmPortalCaseSearch">
    <apex:pageBlock id="pbPortalCaseSearch">

     <div class="table">
      <div class="tableRow">       
       <div id="searchDiv" class="tableCell">
         <apex:inputText id="searchinput" style="width:85%; height:25px;margin:0; padding: 0px 6px 0px;"           title="Portal_Search_Phrase" value="{!portalSearchModel.searchTerm}" onkeypress="insertSearchParam()"/>
         <apex:commandLink id="goSearch" title="Search"  style="text-decoration:none;" rerender="asQuestions,asAnswers,asSolutions,asIdeas,asCases,asContent">Search
         </apex:commandLink>
<script type="text/javascript"> function insertSearchParam(){ var val = document.getElementById("{!$Component.searchinput}").value; document.location.search = "?s=" + val; searches(); } document.getElementById("{!$Component.searchinput}").onkeypress = function(e){ if (!e) e = window.event; // resolve event instance if (e.keyCode == '13'){ insertSearchParam(); return false; } } </script>

 

How is this done? Is this done by default if you don't define an ORDER BY clause?

http://www.salesforce.com/us/developer/docs/pages/Content/pages_flows_customize_runtime_ui.htm

 

I have seen this resource on customizing Flow's user interface but was wondering if there was a way to change properties of the textbox element to make it appear longer on the screen. 

I get this error message when trying to create a record from a flow when I am logged in as a portal user.

Sandbox

 

Encountered unhandled fault when running process Submit_Case_Wizard_2_0/301J00000008SJC exception by user/organization: 00DJ000000073Zw/{4} Source organization: 00DA0000000KIdt (null) UPSERT --- UPSERT FAILED ---  ERRORS :  (INVALID_FIELD_FOR_INSERT_UPDATE) Unable to create/update fields: VPM_Key__c, Version__c, Subject, Direct_Transfer__c, Origin, VPM_Hidden_Description__c, Priority, Asset__c, AccountId, Asset_Family__c, ContactId. Please check the security settings of this field and verify that it is read/write for your profile or permission set. ---  for SFDC record with ID : null,

 

caused by element : Data update.PORTAL_Case_in_Salesforce_GIFTS

 

caused by: UPSERT --- UPSERT FAILED ---  ERRORS :  (INVALID_FIELD_FOR_INSERT_UPDATE) Unable to create/update fields: VPM_Key__c, Version__c, Subject, Direct_Transfer__c, Origin, VPM_Hidden_Description__c, Priority, Asset__c, AccountId, Asset_Family__c, ContactId. Please check the security settings of this field and verify that it is read/write for your profile or permission set. ---  for SFDC record with ID : null,

 

Salesforce Error ID: 2127222898-10938 (1095445565)

 

Here are the security settings for the logged in users profile...

 

Attempting to create a record for Case object so it looks like they have CRUD permissions.

 

All fields that are in the record create are marked as visible and read only.

 

What am I missing?

 

 

I keep getting this error message when I try to open a flow I have been working on. Anybody run in to this before?

Is there any way to discover information about CRM Content Subscriptions. I need to find which users are subscribed to a certain CRM Content Tag.

Hello-

 

I have created a custom search page for use in our Customer Portal. I want to track what customers are searching for so have created a custom object Search_Log__c.  Each time somebody executes search I want to create a new record on this custom object populating a field Search_term__c on the custom object with whatever they search for. 

 

I am having trouble figuring out how to go about doing this. Haven't found relevant documentation or message board posts that have guided me in right direction yet. 

 

Relevant code from VF page:

  <div id="search-box">
   <form name="frmSearch" id="search-form">
      <script type="text/javascript">
       function noenter(e){
            if(window.event){
            key = window.event.keyCode; 
            } else{
            key = e.which; //firefox
            }
            if(key == 13) {
            var ele=document.getElementById("search-button");
            ele.click();
            return false;
            } else{
            return true;
             }
           }
    </script> 
      <input type="text" id="search-text" name="searchText" value="{!portalSearchModel.searchTerm}" onkeypress="return noenter(event);" placeholder="What are you looking for?" />
      <input type="button" id="search-button" name="btnSearch" value="Search" onclick="insertSearchTerm()" />
  </form>
 </div>


<script type='text/javascript'> <!--executes search by passing search term to URL-->
    function insertSearchTerm(){
        var searchTerm = document.getElementById("search-text").value; 
        var url="https://c.na11.visual.force.com/apex/portalcasesearch?s="+searchTerm; 
        window.location = url; 
        return false;
    }                
</script>

 

Controller:

public with sharing class PortalCaseSearchUserContExt {
    
    public final PortalCaseSearchModel portalSearchModel { get; private set; }
    
    public Boolean disableSearch { get; private set; }
             
    public String getSearchTerm(){
         
         if(ApexPages.currentPage().getParameters().get('searchTerm') != null){
             portalSearchModel.searchTerm = ApexPages.currentPage().getParameters().get('searchTerm');
         }
         portalSearchModel.searches();
         //Search_Term__c st = new Search_Term__c();
         //st.Search_Term = portalSearchModel.searchTerm;
         //st.User__c
         //User u = [Select id from user where id =: UserInfo.getUserId()];
         return portalSearchModel.searchTerm;
     }
    
    public PortalCaseSearchUserContExt(ApexPages.StandardController controller) {
        this.disableSearch = false;
        try {
          this.portalSearchModel = new PortalCaseSearchModel((User)controller.getRecord());
          /*If(UserInfo.getProfileId == '00eA0000000rUFC'){
              product = 'GIFTS';
          }else if(UserInfo.getProfileId == '00eA0000000rTWS'){
              product = 'FIMS';
          }*/
          
        } catch(PortalSearchException searchException) {
          ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.FATAL, searchException.getMessage()));
          this.disableSearch = true;
        }
    }
     static testMethod void searchTest(){
        whiteSpaceTracking.setAlreadyCreatedWSP();
        User u = [SELECT Id, Name FROM User WHERE Id=:UserInfo.getUserId()];
        ApexPages.StandardController er = new ApexPages.standardController(u);
        PortalCaseSearchUserContExt psmer = new PortalCaseSearchUserContExt(er);
        System.currentPageReference().getParameters().put('s', 't');
        //System.currentPageReference().getParameters().put('bad', 't');
        ApexPages.StandardController sh = new ApexPages.standardController(u);
        PortalCaseSearchUserContExt psmsh = new PortalCaseSearchUserContExt(sh);
        System.currentPageReference().getParameters().put('s', 'test');
        ApexPages.StandardController sc = new ApexPages.standardController(u);
        PortalCaseSearchUserContExt psm = new PortalCaseSearchUserContExt(sc);
        psm.portalSearchModel.solutionSearch.nextSolutions();
        psm.portalSearchModel.solutionSearch.previousSolutions();
        psm.portalSearchModel.solutionAPSearch.nextSolutions();
        psm.portalSearchModel.solutionAPSearch.previousSolutions();
        psm.portalSearchModel.solutionFIMSSearch.nextSolutions();
        psm.portalSearchModel.solutionFIMSSearch.previousSolutions();
        psm.portalSearchModel.ideaSearch.nextIdeas();
        psm.portalSearchModel.ideaSearch.previousIdeas();
        psm.portalSearchModel.ideaFIMSSearch.nextIdeas();
        psm.portalSearchModel.ideaFIMSSearch.previousIdeas();
        psm.portalSearchModel.ideaAPSearch.nextIdeas();
        psm.portalSearchModel.ideaAPSearch.previousIdeas();
        //psm.portalSearchModel.questionSearch.nextQuestions();
        //psm.portalSearchModel.questionSearch.previousQuestions();
        //psm.portalSearchModel.replySearch.nextReplies();
        //psm.portalSearchModel.replySearch.previousReplies();
        psm.portalSearchModel.caseFIMSSearch.nextCases();
        psm.portalSearchModel.caseFIMSSearch.previousCases();
        psm.portalSearchModel.caseAPSearch.nextCases();
        psm.portalSearchModel.caseAPSearch.previousCases();
        psm.portalSearchModel.caseSearch.nextCases();
        psm.portalSearchModel.caseSearch.previousCases();
        psm.portalSearchModel.caseSearch.nextCases();
        
        psm.getSearchTerm();
        
        DictionarySearch ds = new DictionarySearch('test');
        ds.getSynonymSearchWords();
        ApexPages.currentPage().getParameters().put('searchTerm','test');

 

Hello,

 

I have a html form with a text field and button. When button is clicked some JavaScript is executed that puts the search term in the URL.  I wan't to trigger this button click event by user pressing enter as well...

 

    <script type='text/javascript'> 
        function insertSearchTerm(){
            var searchTerm = document.getElementById("keyword").value; 
            var url="https://c.na11.visual.force.com/apex/portalcasesearch?s="+searchTerm; 
            window.location = url; 
            return false;
        }         
        
    </script>

 

 

      <form name="frmSearch">
          <input type="text" style="width:85%; height:25px;margin:0; padding: 0px 6px 0px;" name="keyword" id="keyword" />
          <input type="button" id="btnSearch" name="btnSearch" value="Search" onclick="insertSearchTerm()"  />
      </form>

 

 

I tried this but I really have no idea what I am doing when it comes to jQuery...

 

    <apex:includeScript value="{!$Resource.Jquery}" />
    <script>

        $j = jQuery.noConflict();
        ("#keyword").keyup(function(event){
            if(event.keyCode == 13){
            jQuery("#btnSearch").click();
            }
        });
    
    </script>
     

 

 

 

I am building a custom search VF page. I have an inputText area where user enters search term. When they hit enter I wan't to pass that value to URL so it looks like /apex/PageName?s=ValueEntered

 

This is what I have so far which isn't working. Any guidance?

 

  <body id="bodyPortalCaseSearch">
   <apex:form id="frmPortalCaseSearch">
    <apex:pageBlock id="pbPortalCaseSearch">

     <div class="table">
      <div class="tableRow">       
       <div id="searchDiv" class="tableCell">
         <apex:inputText id="searchinput" style="width:85%; height:25px;margin:0; padding: 0px 6px 0px;"           title="Portal_Search_Phrase" value="{!portalSearchModel.searchTerm}" onkeypress="insertSearchParam()"/>
         <apex:commandLink id="goSearch" title="Search"  style="text-decoration:none;" rerender="asQuestions,asAnswers,asSolutions,asIdeas,asCases,asContent">Search
         </apex:commandLink>
<script type="text/javascript"> function insertSearchParam(){ var val = document.getElementById("{!$Component.searchinput}").value; document.location.search = "?s=" + val; searches(); } document.getElementById("{!$Component.searchinput}").onkeypress = function(e){ if (!e) e = window.event; // resolve event instance if (e.keyCode == '13'){ insertSearchParam(); return false; } } </script>

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_flows_customize_runtime_ui.htm

 

I have seen this resource on customizing Flow's user interface but was wondering if there was a way to change properties of the textbox element to make it appear longer on the screen. 

Hi,

 

I have to update the rating field in Leads object based on 5 checkboxes(1,2,3,4,5).

When 1 is selected, it should be "Cold".

When either 2 or 3 or both including 1 is selected it should be "Warm".

When either 4 or 5 or both selected or all are selected it should be "Hot".

 

Can anyone tell me how to implement this.

 

Thanks in Advance.

Hi,

 

If I build a nice detailed Visual Flow in some org, how can I copy/import it into another org? -and I don't want to package it yet.

 

Thanks!

I get this error message when trying to create a record from a flow when I am logged in as a portal user.

Sandbox

 

Encountered unhandled fault when running process Submit_Case_Wizard_2_0/301J00000008SJC exception by user/organization: 00DJ000000073Zw/{4} Source organization: 00DA0000000KIdt (null) UPSERT --- UPSERT FAILED ---  ERRORS :  (INVALID_FIELD_FOR_INSERT_UPDATE) Unable to create/update fields: VPM_Key__c, Version__c, Subject, Direct_Transfer__c, Origin, VPM_Hidden_Description__c, Priority, Asset__c, AccountId, Asset_Family__c, ContactId. Please check the security settings of this field and verify that it is read/write for your profile or permission set. ---  for SFDC record with ID : null,

 

caused by element : Data update.PORTAL_Case_in_Salesforce_GIFTS

 

caused by: UPSERT --- UPSERT FAILED ---  ERRORS :  (INVALID_FIELD_FOR_INSERT_UPDATE) Unable to create/update fields: VPM_Key__c, Version__c, Subject, Direct_Transfer__c, Origin, VPM_Hidden_Description__c, Priority, Asset__c, AccountId, Asset_Family__c, ContactId. Please check the security settings of this field and verify that it is read/write for your profile or permission set. ---  for SFDC record with ID : null,

 

Salesforce Error ID: 2127222898-10938 (1095445565)

 

Here are the security settings for the logged in users profile...

 

Attempting to create a record for Case object so it looks like they have CRUD permissions.

 

All fields that are in the record create are marked as visible and read only.

 

What am I missing?

 

 

I keep getting this error message when I try to open a flow I have been working on. Anybody run in to this before?

I'm using flows to create a case, and I want to know if there is a way to have it specify a TRUE for it to use the assignments rules when the case is created.  I don't just want to make that the default choice, because once the case is accepted by a user from the queue, I don't want it to reassign the case to the queue.

 

Any and all insights are welcome.  Thanks!

 

Jeff Bloomer

Is there a way to get a dynamic choice to show ALL values that are possible in a picklist without having to have a record with each value or manually creating each choice every time a new picklist value is added?

 

CASE:

1) Flow_Picklist__c: Values= Good, Bad, Ugly

2) 1 Record with the Flow Picklist filled in with Good.

3) The Dynamic Choice only brings back Good, not bad and/or ugly.

4) I create each of those three picklist values as an individual choice.

5) I add a value to the picklist field

6) that value does not show up in the dynamic choice so I have to manually make that value a choice.

7) repeat steps 5 and 6 over and over again.

 

Is there a way to not have to do steps 4-7 and make step 3 add all choices?

  • June 19, 2012
  • Like
  • 0