how to create a new apex class in enterprice edition - salesforce

Hi i am lagging in this point so kindly let me know,how to create a new apex class in enterprice edittion or how to enable new button for apex class in enterprice eddition.

You cannot create classes directly in enterprise edition, you need to create the classes and their tests in either a sandbox or developer edition account, and then deploy them to the enterprise edition login. See http://wiki.developerforce.com/index.php/App_Logic for more info.

You mean that "new" button in "Setup-> App Setup -> Develop -> Apex classes" menu is disabled for you?
Please go to your Profile page (can be accessed for example by clicking the profile name in "My Personal information") and search on the page for "Author Apex" permission. This checkbox must be ticked if you want to be a developer.
If it's not checked - ask your admin for either ticking it for your profile (will impact all users that have same profile!) or assign a new profile for you.
Once you'll get the class creation from GUI working you can move on to slightly advanced topic of developing with Force.com Eclipse IDE (App Setup->Develop->Tools)

Related

adding user to community

I'm doing a tutorial on communities, and after setting pages and themes, i wanted to add users. The access is made from the contact object.
I setup the community, but think i should have a link here
i setup the user of a contact like this:
User License = Customer Community
Profile = Customer Community User
Active = true
but when i try to log him in, i get: "Looks like this portal user is not a member"
I tried the same with another profile, a clone of the native Administrator profile, to which i added, in Profile Overview > App Permissions
Manage External Users = true
then, one by one, i activated all permissions, and still had that warning.
edit:
i'm using Classic
This is a developer licence
What am i missing?
The links disappeared because you killed off your own access to community (on Sysadmin, cloned profile etc). Do you remember editing this page? (sorry I had to censor some bits). If you removed System Administrator from the list of profiles - #fail.
If you can work with the new community and it's OK to have old one lying around - cool. If not - You might be able to resurrect it by exporting the community definition file, tweaking it and deploying back. I'm assuming you have some dev experience.
Prepare package.xml that contains
<types>
<members>*</members>
<name>Network</name>
</types>
Export the zip file (you don't neccessarily need developer tools, http://workbench.developerforce.com/ might be enough). Inspect the networks/YourCommunityName.network file. There should be a section similar to this
<networkMemberGroups>
<permissionSet>Censored1Access</permissionSet>
<permissionSet>Censored2Access</permissionSet>
<profile>Censored User</profile>
<profile>Admin</profile>
</networkMemberGroups>
Make sure "Admin" is on the list and deploy it back to org. It should give you access back and then you can add your customer community user's profile, permission set or whatever you plan to give them.

Ultimate Membership Pro Plugin for Wordpress

I have a template that has a database named "profiles" which has some specific fields, useful for my purpose.
I am using Ultimate Membership Pro as a plugin. Through this plugin's Register form, a new user is added as WP user. I want to connect this registry form with the "Profiles" database but I can't.
Any Ideas???
What do you expect to happen? All users will be added with the "subscriber" role.
https://wordpress.org/support/article/roles-and-capabilities/

Cortana skill 'deploy to group' is not working for new user

A month ago when https://my.knowledge.store/ was not existing I was able to edit the Cortana channel on dev.botframework.com, add new users to 'deploy to group' option and share the link with those users. Once user log in to their MSA and accept the skill they would be able to use the skill.
Recently, due to site changes Microsoft came up with new site called https://my.knowledge.store/workspace where Cortana channel and its publishing will be managed. I completely followed following link to deploy to group
https://help.knowledge.store/system_concepts/publishing/index.html#publish-to-group
but, I see few differences this time. It does not give
1. Link to share
2. Once deployed NEW users added are not tied to skill yet.
Is this a bug ?
'Publish to group' should be working. When you publish to group using the steps mentioned in the link, it will give you group access URL. This is the link you need to share for new users to test and use that skill.
You should be able to generate the link now. Please let us know if that is not hte case.

Apex class couldn't be created

I am using a sandbox developer edition of salesforce. In Setup, when I search "Apex Class" in quick find box, no results were found. Also the File-->New-->Apex Class option is disabled in developer console window. How could I create a Apex class in salesforce. Also My aim is to create a visualforce page, which loads some external data(through api call) in visualforce page in a table format with custom links. How to do that?
It seems that your user has a limited profile on sandbox and has no access to Apex classes and any other developer options. This case you need to ask someone with Admin rights to provide an access to you. I guess that permission Author Apex can help you
Go to Manage users > Profiles > System Permissions

salesforce: packaging the app with custom profile

I add custom profile in the package, however, I can't create the custom profile by installing. After more investigating, if I created the custom profile before the installation the package can update the fls and permissions. There is no way creating custom profile on installation? If so can I do that with installation script?
Took me a while to figure it out but here's the solution:
IN YOUR DE ORG:
Clone Standard Platform User profile (because is the one that has the Salesforce Platform license) and name it something meaningful like MyApp_Profile
Customize MyApp_Profile to match your desired access level for the users that will test or use your app
Add custom profile settings MyApp_Profile to the package
Go ahead an finish the package
IN THE TEST_ORG (OR YOUR_CUSTOMER_ORG):
Pre-create a profile by cloning the Standard Platform User profile and name it something meaningful like MyApp_TestProfile
Assign MyApp_TestProfile to a user
Install the package and on Step 2 (Choose security level) of the wizard you have to select the third option (Select security settings)
Under "Customize security" section make sure the MyApp_TestProfile (created on step 5) has the MyApp_Profile assigned (created on step 1)
Finish the Package installation
Log to the test or customer org with the user that has the MyApp_TestProfile assigned and choose your App from top right menu.
You're welcome!
I hope this solves your issue too!

Resources