• Hari Kumar Enaganti
  • NEWBIE
  • 5 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
I Am using lightening-input type=number . As a LWC feature some alphabets like k, K, m, M, b, B, t these are allowed. I dont want this to be entered.Is ther way to disable this alphabets?
My first community page is changed to other language but not connected app Org pages. So I would like to pass language parameters to see changes in my Connected org as well.
Kindly let me know how to receive params in 2nd org.
I would like to show some images from STaticResources zipped folder in my lightning component. I should show those pictures in my component ,upon selecting any of the image it should save as Prfoile picture for that user.I have used connectapi to insert body/base64 value of the blob if am uploading image from Computer ,but the same need to done for StaticResource. If I got respective selected image body/base64 information from Static resource zipped folder ,my job will be easy.

can anybody suggest any ansers.
Am trying to Insert/Upload a File(Base64) from Rest Client by mentioning
https://mysalesforce-instance.com/services/data/v48.0/sobjects/ContentVersion by giving Body as
 
{
"Title":"New Upload",
"PathOnClient":"NewUpload.JPG",
"ContentLocation":"S",
"OwnerId":"<My Id>",
"VersionData":"file base64 information"
}

Passing headers with the
Authorization access token
Content-type apllication/json;charset=UTF-8

I can able to get response from Workbench, but when I have done this in Postman/ARC am getting ContentVersion object description like below. but not getting successful ID. Kindly let me know is there any thing I need to do.
 
{
    "objectDescribe": {
        "activateable": false,
        "createable": true,
        "custom": false,
        "customSetting": false,
        "deepCloneable": false,
        "deletable": false,
        "deprecatedAndHidden": false,
        "feedEnabled": false,
        "hasSubtypes": false,
        "isInterface": false,
        "isSubtype": false,
        "keyPrefix": "068",
        "label": "Content Version",
        "labelPlural": "Content Versions",
        "layoutable": true,
        "mergeable": false,
        "mruEnabled": false,
        "name": "ContentVersion",
        "queryable": true,
        "replicateable": false,
        "retrieveable": true,
        "searchable": true,
        "triggerable": true,
        "undeletable": false,
        "updateable": true,
        "urls": {
            "compactLayouts": "/services/data/v48.0/sobjects/ContentVersion/describe/compactLayouts",
            "rowTemplate": "/services/data/v48.0/sobjects/ContentVersion/{ID}",
            "defaultValues": "/services/data/v48.0/sobjects/ContentVersion/defaultValues?recordTypeId&fields",
            "describe": "/services/data/v48.0/sobjects/ContentVersion/describe",
            "layouts": "/services/data/v48.0/sobjects/ContentVersion/describe/layouts",
            "sobject": "/services/data/v48.0/sobjects/ContentVersion"
        }
    },
    "recentItems": []
}

 
My first community page is changed to other language but not connected app Org pages. So I would like to pass language parameters to see changes in my Connected org as well.
Kindly let me know how to receive params in 2nd org.
Am trying to Insert/Upload a File(Base64) from Rest Client by mentioning
https://mysalesforce-instance.com/services/data/v48.0/sobjects/ContentVersion by giving Body as
 
{
"Title":"New Upload",
"PathOnClient":"NewUpload.JPG",
"ContentLocation":"S",
"OwnerId":"<My Id>",
"VersionData":"file base64 information"
}

Passing headers with the
Authorization access token
Content-type apllication/json;charset=UTF-8

I can able to get response from Workbench, but when I have done this in Postman/ARC am getting ContentVersion object description like below. but not getting successful ID. Kindly let me know is there any thing I need to do.
 
{
    "objectDescribe": {
        "activateable": false,
        "createable": true,
        "custom": false,
        "customSetting": false,
        "deepCloneable": false,
        "deletable": false,
        "deprecatedAndHidden": false,
        "feedEnabled": false,
        "hasSubtypes": false,
        "isInterface": false,
        "isSubtype": false,
        "keyPrefix": "068",
        "label": "Content Version",
        "labelPlural": "Content Versions",
        "layoutable": true,
        "mergeable": false,
        "mruEnabled": false,
        "name": "ContentVersion",
        "queryable": true,
        "replicateable": false,
        "retrieveable": true,
        "searchable": true,
        "triggerable": true,
        "undeletable": false,
        "updateable": true,
        "urls": {
            "compactLayouts": "/services/data/v48.0/sobjects/ContentVersion/describe/compactLayouts",
            "rowTemplate": "/services/data/v48.0/sobjects/ContentVersion/{ID}",
            "defaultValues": "/services/data/v48.0/sobjects/ContentVersion/defaultValues?recordTypeId&fields",
            "describe": "/services/data/v48.0/sobjects/ContentVersion/describe",
            "layouts": "/services/data/v48.0/sobjects/ContentVersion/describe/layouts",
            "sobject": "/services/data/v48.0/sobjects/ContentVersion"
        }
    },
    "recentItems": []
}

 
When I'm trying to use 
> sfdx force:auth:web:login -d -a DevHub
Getting Error - 
ERROR running force:auth:web:login:  Cannot start the OAuth redirect server on port PortInUseAction. 

Try this: 
Kill the process running on port 1717 or use a custom connected app and update OauthLocalPort in the sfdx-project.json file.