-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
21Questions
-
14Replies
Image for Checkbox not displayed in PDF using Visualforce page with renderas="pdf"
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
-
- guenthmn
- April 29, 2015
- Like
- 0
- Continue reading or reply
How to implement a button control for apex:panelBar?
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"/> <apex:commandButton reRender="tabPanel" action="{!nextSection}" value="Next"/> </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>
-
- guenthmn
- May 15, 2013
- Like
- 0
- Continue reading or reply
Summer 12 cs3: vf rendered as pdf fail -error "PDF generation failed. Check the page markup is valid
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
-
- guenthmn
- May 12, 2012
- Like
- 0
- Continue reading or reply
social-single-sign-on Auth.RegistrationHandler: How to redirect to custom start url
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
-
- guenthmn
- March 25, 2012
- Like
- 0
- Continue reading or reply
Translation Workbench overwriting RecordTypes
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
-
- guenthmn
- February 27, 2011
- Like
- 0
- Continue reading or reply
Spring 11, How do I change the "Related List Label" of an object in a managed package
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
-
- guenthmn
- February 12, 2011
- Like
- 0
- Continue reading or reply
Query for list view Id's and names
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
-
- guenthmn
- March 12, 2010
- Like
- 0
- Continue reading or reply
Saving a external image as an attachment
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&chd=t:60,40&cht=p3&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
-
- guenthmn
- March 12, 2010
- Like
- 0
- Continue reading or reply
Error: Failed to parse WSDL with WSDL for box.net API Web Service
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
-
- guenthmn
- January 18, 2010
- Like
- 0
- Continue reading or reply
New redirected URL: HTTPS://c.na7.visual.force.com/apex/Mayhap logic
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
-
- guenthmn
- November 25, 2009
- Like
- 0
- Continue reading or reply
How to find out which packages are installed in a apex call?
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
-
- guenthmn
- November 20, 2009
- Like
- 0
- Continue reading or reply
Lookup of account in sites does not return any results I have territory turned on
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
-
- guenthmn
- September 16, 2009
- Like
- 0
- Continue reading or reply
How to query current salesforce instance in apex code na1, na2, ...
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
-
- guenthmn
- September 04, 2009
- Like
- 0
- Continue reading or reply
How to figure out in a trigger if the the information is entered via the UI or API?
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
-
- guenthmn
- August 18, 2009
- Like
- 0
- Continue reading or reply
Offline Edition Summer 09: sync Id not updating and records are missing offline for one an object
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?
-
- guenthmn
- July 18, 2009
- Like
- 0
- Continue reading or reply
Offline edition data access via XML api?
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? |
-
- guenthmn
- March 09, 2009
- Like
- 0
- Continue reading or reply
Access to offline edition data via xml API
| |||||
-
- guenthmn
- March 09, 2009
- Like
- 0
- Continue reading or reply
enhanced list not loading on inital page with internet explorer 7.0
Message Edited by guenthmn on 10-14-2008 08:29 AM
-
- guenthmn
- October 14, 2008
- Like
- 0
- Continue reading or reply
Mass Action Buttons for Tag and Search Results documentation?
-
- guenthmn
- May 30, 2008
- Like
- 0
- Continue reading or reply
Developer / Administrator available - 4 years sf experience
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
-
- guenthmn
- February 16, 2008
- Like
- 0
- Continue reading or reply
Data.com in Developer Edition?
How / where do I enable Data.com in a developer org? SFDC Help indicates that it is available ----
Data.com available in: Contact Manager, Developer, Enterprise, Group,Professional, and Unlimited Editions |
Data.com Clean available in: Developer, Enterprise, Professional, and UnlimitedEditions
SFDC Help also states "You can find out by going to the Data.com Licenses & Limits page. Click Your Name| Setup | Data.com Administration | Licenses & Limits." However, I don't have a "Data.com Administration" option under Setup.
Thanks, Barb |
- BarbR
- July 18, 2012
- Like
- 0
- Continue reading or reply
"Could not resolve field" error when adding VisualForce pages to managed package
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/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!
- ScottWells
- June 03, 2012
- Like
- 0
- Continue reading or reply
Spring 11, How do I change the "Related List Label" of an object in a managed package
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
- guenthmn
- February 12, 2011
- Like
- 0
- Continue reading or reply
Bug? Can't remove package - layouts linked to chatter profiles
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?
- DSL
- January 17, 2011
- Like
- 0
- Continue reading or reply
Do Custom Settings Objects count against the 10 object free edition limit?
Hi :)
I was wondering if anyone knows if Custom Settings objects count agains the 10 object free edition limit.
Thanks!
Scott
- Scott.M
- November 23, 2009
- Like
- 0
- Continue reading or reply
How to find out which packages are installed in a apex call?
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
- guenthmn
- November 20, 2009
- Like
- 0
- Continue reading or reply
Lookup of account in sites does not return any results I have territory turned on
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
- guenthmn
- September 16, 2009
- Like
- 0
- Continue reading or reply
meta.xml files constantly out of sync with server?
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?
- Vintara
- September 16, 2009
- Like
- 0
- Continue reading or reply
How de we identify a Process as API or UI?
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
- skipperSwede
- June 08, 2009
- Like
- 0
- Continue reading or reply
Add a picture to contact record? I was told by support to use visuaforce
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.
- JeffGarland1234
- April 21, 2009
- Like
- 0
- Continue reading or reply
How to delete a record using Office Toolkit 4.0
The delete call has been eliminated in the Office Toolkit version 4.0. So how am I supposed to delete, say, an opportunity?
- SnowMore
- April 20, 2009
- Like
- 0
- Continue reading or reply
Offline edition data access via XML api?
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? |
- guenthmn
- March 09, 2009
- Like
- 0
- Continue reading or reply
Mass Action Buttons for Tag and Search Results documentation?
- guenthmn
- May 30, 2008
- Like
- 0
- Continue reading or reply