• guenthmn
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 21
    Questions
  • 14
    Replies
I noticed that this solution is not working anymore since last week:

https://developer.salesforce.com/forums/ForumsMain?id=906F0000000999tIAA

I can't render any images, I tried with salesforce API 17, 22,29 and 33. 

I set applyHtmlTag="false" on the page to false for api 29 and 33

How would I implement a button control for an apex:panelBar? I have a Previous and Next button that increase/decrease the selectedTabNumber, it updates the {!selectedTabNumber} correctly and my if statement is correct but it does not seem to have an effect on the expanded="{!IF(selectedTabNumber == tab.tabnumber, true, false)}" attribute in the apex:panelBarItem. What am I missing?

Thanks, Matt

 

<div><apex:commandButton reRender="tabPanel" action="{!prevSection}" value="Previous"/>&nbsp;
    <apex:commandButton reRender="tabPanel" action="{!nextSection}" value="Next"/>&nbsp;
</div> 

<apex:panelBar id="tabPanel" items="{!tabs}" var="tab" switchType="server" headerClass="panel" headerClassActive="panelActive">
<apex:panelBarItem expanded="{!IF(selectedTabNumber == tab.tabnumber, true, false)}" label="{!tab.tabName}" >
    selected {!selectedTabNumber} of {!tab.tabnumber} this tab {!IF(selectedTabNumber == tab.tabnumber, true, false)}
//content removed
</apex:panelBarItem>
</apex:panelBar>

 

When I check the page rendered as html i get the following error:

 

Warning: Element type "input" should be followed by either attribute specifications, ">" or "/>" in c__applicationevaluationanswerblock at line 22.

 

I don't have a component called c__applicationevaluationanswerblock. This looks like an internal error.

 

If I complie the page again  as html it works fine.

 

Does anyone else has seen this error?

 

Thanks,

 

Matt

I implemented the Auth.RegistrationHandler and got it working,

 

As in this post http://blogs.developerforce.com/developer-relations/2012/01/social-single-sign-on-authentication-providers-in-spring-12.html

 

Only question I have: "How to redirect the portal user to a custom url as the portal start page?"

 

We don't use the std. portal and redirect to a custom VF page. I thought siteLoginUrl would do that, but it does not seem to work the same way the startURL works in the Site.login method.

 

Thanks,

 

Matthias

Hi:

I overwrote the Recordtype on a managed package and it shows up correctly with the new name as the recordtype, but when I use a formula with the global variable $RecordType.Name it still displays the original name.

 

How can I get the new name to display in my formula?

 

PS: I also noticed that I can not overwrite the description of the recordtype, was that missed? You are able to overwrite the description on custom report types.

 

Thanks,

 

Matt

Super, I can now change the label  of my managed package custom objects in Spring 11.

 

But I can not figure out how do I change the "Related List Label" of an object in a managed package, it continues to show with the original name?

 

Am I missing something, its not in the translation workbench overwrite either?

 

Thanks,

 

Matt

How do I query for all the list view names and ids for a specific sObject via apex?

 

I don't see this in the API or as a describe object option.

 

Thanks,

 

Matt

Hi:

I am trying to save a Google chart (PNG file) that I am displaying with a formula as an  attachment to my sObject. Its working fine as a HTML file, but I like to save the actual png file instead. Here is what I have:

 

my formula field DemoImage2:

 

IMAGE("http://chart.apis.google.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World", "DemoImage2")

 

apex code:

 

Attachment a = new Attachment( parentId = chgCotr.id, name=chgCotr.Name+'.html', body = Blob.valueof(chgCotr.DemoImage2__c ); Database.insert(a);

 




 

produces an html attachment with the following markup:

 

<img src="http://chart.apis.google.com/chart?chs=250x100&amp;chd=t:60,40&amp;cht=p3&amp;chl=Hello|World" alt="DemoImage2" border="0"/>

 

What I want to save is the source image as png file instead of the <img>markup.

 

How can I get this accomplished?

 

Thanks in advance for your suggestions.

 

Matt

I am trying to load the WSDL for box.net, but I am getting the following error:

 

Error: Failed to parse WSDL: attribute name can not be null at: 46:68

 

I exploring the integration with box.net per http://developers.box.net/Using+SOAP

 

Has anyone used the  Apex class WSDL link? I have found very little documentation. Or can you point me into the right direction to troubleshoot?

 

Thanks,

 

Matt

 

 

 

 

Hi:

I am looking for some information on how the visual force URL's are created.

 

In my older org it used to be:

 

https://na2.salesforce.com/apex/MyVFPage

 

and now it is:

 

HTTPS://c.na7.visual.force.com/apex/MyVFPage or

HTTPS://<package name>.na7.visual.force.com/apex/MyVFPage

 

that does not seem to work correctly in the sandbox when you have managed packages.

 

1. log into test.salesforce.com

2. main url tapp0.salesforce.com

3. visual force page redirects to c.cs0.visual.force.com fails to fails to redirect to <package name>.cs0.visual.force.com

 

Can someone provide some inside on this new behavior? I  am trying to construct the URL in JavaScript.

 

Thanks,

 

Matt

I like to change my apex code behavior depending on what other packages are installed in a org. Can I query for that? I don't seem to see a object for that?

 

Thanks,

 

Matt

When I run lookup of an account in a sites VF page the search does not return any results. I have territory turned on.

 

It works fine in salesforce with the same VF page. I suspect that I need to assign my site user to a territory, but how?

 

I can not find a way to assign the site user to a territory anywhere.

 

Can someone point me in the right direction?

 

Thanks,

 

Matt

I like to include a link to my salesforce record in an outbound  Messaging.SingleEmailMessage email, but I don't want to include a hard code instance as outlined in the documentation. How do I get the salesforce instance na1, na2, na3,... that I am working on. Pagereference getURL() only returns a partial URL.

 

From the documentation:

 

 http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content%2Fapex_classes_email_outbound.htm|SkinName=webhelp

 

mail.setHtmlBody('Your case:<b> ' + case.Id +' </b>has been created<p>'+
' View case <a href=https://na1.salesforce.com/'+case.Id+'>click here</a>');

 

Thanks,

 

Matt

I looked at useing the Trigger.isApi() call as well as Trigger.isUI(), but the Trigger compiler does not appear to understand these two methods/Fields (booleans?).

 

I simply want a field/property I can query to tell me who is the author:  UI or external process.

 

Can someone provide a hint on how to figure out in a trigger if the the information is entered via the UI or API 

 

Thanks,

 

Matt 

Hi:
I just ran into a problem this week. I have on object in my briefcase that does not replicate to my offline edition. I check in salesforce in the briefcase and I see 3 records. When I download and review the data set in the offline edition I do not see the records.

I also noticed that the record ID (xxx - Calculated on sync) does not get updated during sync for this object. The other objects are working fine.

I cleaned the IS history, tried on a diffident computer, un-installed and reinstalled the offline edition, recreated the briefcase from scratch. No luck

 

Any suggestions?

 I need to create reports in the offline version.

 

Is there a way to access the the offline line data via the XML API or other means with i.e. Crystal Reports?

HI:

I need to create reports in the offline edition version.

 

Is there a way to access the the offline line data via the XML API or other means with ie Crystal Reports?

 

Thanks,

 

Matt

 

 

 

 

 

 

 

 

 
 
  
Hi:
When I bring up an enhanced list it is not loading the records on the initial page load, It works fine in Firefox. once I switch to a different list it works correctly. Do I need to change a IE setting or is this a problem with the enhanced list?
 
Thanks,
 
Matt


Message Edited by guenthmn on 10-14-2008 08:29 AM
I like to develop a Mass Action Button (new for the spring 08 release) to update multiple items in a related list, but can not turn up any documentation or some sample code.
 
Can someone point me in the right direction?
 
Thanks,
 
Matt

Are you seeking a dependable salesforce.com developer / administrator for your salesforce.com implementation, but do not need a full time employee dedicated to your effort, I can help.

 

I am US base, bilingual English/German. Excellent References.

 

I have 4 years of enterprise level administration and development experience with salesforce.com (200+ users) and 10 years total database and CRM administration experience.

 

 

Highlights:

 

- Setup, build-out, and customization of account, contact, opportunities, reports, documents, leads, campaigns and contracts objects in salesforce.com

- Product, pricelist and schedule implementation for opportunities

- Security and user group mapping, data access, account/contact/opportunity visibility, user group definitions and administration

- Report and dashboard development and customization

- Import and export of data (batch or event driven)

- Campaign management

- Email and mail merge templates

- Training and business process documentation development

- Basic user administration including password reset, new user setup, account owner changes, outlook and office module integration

- Google Ad-words integration

- App Exchange applications

- Website integration Web-to-Lead and Email-to-Case

 

- Custom development

      scontrol, trigger, formular, custom buttons or links (I can developed in my Elcipse/developer enviroment or yours)

 

 

I am available for work on hourly or per project paid basis. Part time only. No relocation or extended travel projects.  My rates are very affordable and you will receive personal attention and support.

 

I would welcome the opportunity to discuss how my skills can match your need for an experienced Salesforce.com Administrator / Developer.

 

Please contact me to schedule a free phone consultation at matt@3mesa.com

 

References are available up on request. Triple Mesa is a registered salesforce.com partner


Matthias Guenther
Triple Mesa LLC
matt@3mesa.com

 

How / where do I enable Data.com in a developer org? SFDC Help indicates that it is available ----

 

Data.com available in: Contact ManagerDeveloperEnterpriseGroup,Professional, and Unlimited Editions

Data.com Clean available in: DeveloperEnterpriseProfessional, and UnlimitedEditions

 

SFDC Help also states "You can find out by going to the Data.com Licenses & Limits page. Click Your NameSetup | Data.com Administration | Licenses & Limits."  However, I don't have a "Data.com Administration" option under Setup.

 

Thanks,

Barb

  • July 18, 2012
  • Like
  • 0

We're in the process of readying our application for security review.  The application was developed as an unmanaged package and was updated to be delivered as two managed packages, one that is an extension of the other.  As we ready for review, we've installed the base managed package (essentially a shared library containing custom objects, Apex classes, etc., that will be used by multiple products) as a beta in the org where we're developing the extension managed package (the actual product).  Now several of our VIsualForce pages that have always worked fine suddenly fail with errors like:

 

Could not resolve field 'CustomFieldName__c' from <apex:inputField> value binding '{!CustomFieldName__c}' in page productNamespace:visualForcePageName

 

I've searched a bit and found the following links with similar errors:

 

http://boards.developerforce.com/t5/Visualforce-Development/Visualforce-error-since-namespace-added/td-p/169230

http://boards.developerforce.com/t5/forums/forumtopicprintpage/board-id/Visualforce/message-id/38108/print-single-message/false/page/1

http://boards.developerforce.com/t5/Visualforce-Development/Problems-with-namespace-prefix/td-p/89512

http://boards.developerforce.com/t5/Visualforce-Development/New-Build-on-NA1/m-p/89501

 

The first link documents an existing bug with VisualForce pages and managed packages, but we haven't actually uploaded a managed package with the custom objects, pages, or controllers that are failing in this case.  At this point they're still unmanaged assets in an org, albeit one for which we have already registered a namespace.

 

The second link is about the user not having proper authorization for the object or fields, but this happens even when I'm logged in as a System Administrator.

 

The third and fourth links are about what seems to be a short-lived bug in the platform four years ago that only occurred when Developer Mode is on, but I don't have that on when this is happening and I would imagine that was fixed long ago given the age of the posts.

 

Based on this, I'm assuming that our problem is most closely related to the first link, but again technicaly the objects, pages, and controllers here aren't in a managed package yet.  I'm hoping someone here has run into this problem and has a solution or workaround for it because this is gating our progress toward submission for security review.

 

For what it's worth, I've already tried qualifying the custom field names in the <apex:inputField> tags with the correct namespace, but they're automatically removed on save because, again, these pages are referencing custom objects in the same package and therefore shouldn't be namespaced.

 

Thanks in advance for any help you may be able to provide!

 

Super, I can now change the label  of my managed package custom objects in Spring 11.

 

But I can not figure out how do I change the "Related List Label" of an object in a managed package, it continues to show with the original name?

 

Am I missing something, its not in the translation workbench overwrite either?

 

Thanks,

 

Matt

I have a package that has been installed for a long time, before chatter. I tried to remove the package and it would not let me because some of the page layouts in the package were assigned to the chatter free and chatter moderator system profiles.

 

If I go to the layout edit page (let's say for lead layouts) and click Page Assignment, it shows me all of the profiles EXCEPT the two chatter ones. So there is no way to assign the chatter profiles to another layout. That makes sense because chatter users should not have leads/contacts/etc...But yet they are assigned to the profile,as the package uninstall tells me when it fails to uninstall.

 

This really seems like a bug unless anyone knows how to force an uninstall.

 

Any ideas?

  • January 17, 2011
  • Like
  • 0

Hi :)

 

I was wondering if anyone knows if Custom Settings objects count agains the 10 object free edition limit.

 

Thanks! 

 

Scott 

I like to change my apex code behavior depending on what other packages are installed in a org. Can I query for that? I don't seem to see a object for that?

 

Thanks,

 

Matt

When I run lookup of an account in a sites VF page the search does not return any results. I have territory turned on.

 

It works fine in salesforce with the same VF page. I suspect that I need to assign my site user to a territory, but how?

 

I can not find a way to assign the site user to a territory anywhere.

 

Can someone point me in the right direction?

 

Thanks,

 

Matt

Using the latest IDE for Eclipse, 

 

Starting yesterday, about every min' or so I get the message "Save error: Conflict found while preparing to save 'xxx.cls-meta.xml' to server.  Remote instance has been updated since last save or sync."

 

I can work around this by refreshing from the server, pasting in my changed code and re-saving, but having to constantly do this is getting tiresom. Any ideas? 

  • September 16, 2009
  • Like
  • 0

I have tried to use the Trigger.isApi() call as well as Trigger.isUI(), but the Trigger compiler does not appear to understand these two methods/Fields (booleans?).

 

I simply want a field/property I can query to tell me who is the author:  UI or external process.

 

Thanks,

 

skipperSwede

Can anyone assist me adding the capability of adding a picture to a contact record? One would think I could go to page layout and select an image preview option or something. Support told me I needed to do this using visuaforce. Any help would be appreciated. I tried the picture uploader appexchange but it was failing like everyone else that tried to use the program. Thanks in advance.

 

The delete call has been eliminated in the Office Toolkit version 4.0.  So how am I supposed to delete, say, an opportunity? 

 I need to create reports in the offline version.

 

Is there a way to access the the offline line data via the XML API or other means with i.e. Crystal Reports?

I like to develop a Mass Action Button (new for the spring 08 release) to update multiple items in a related list, but can not turn up any documentation or some sample code.
 
Can someone point me in the right direction?
 
Thanks,
 
Matt