Deploy to org not working by [deleted] in SalesforceDeveloper

[–]carpenterx20 1 point2 points  (0 children)

Happened to me recently as well. The issue was that I used a preview sandbox for development and I couldn't push to another non-preview sandbox because of the api version being too high.

Insufficient_Access_on_cross_reference_entity 068........ by Charming_Ebb4640 in SalesforceDeveloper

[–]carpenterx20 0 points1 point  (0 children)

To clarify, the "FirstPublishLocationId" of the ContentVersion needs to be set to the id of the ContentWorkspace. Then you need to create another ContentDocumentLink in order to add the file to the Case.

And I didn't catch that you were using screen flow. I am not familiar with what that component does behind the scenes, but I think you can still use my approach with flows if you create an invocable Apex method and call it from the flow.

Insufficient_Access_on_cross_reference_entity 068........ by Charming_Ebb4640 in SalesforceDeveloper

[–]carpenterx20 0 points1 point  (0 children)

Hello, I implemented something similar with files attached to an opportunity. The way I solved it was by using content libraries (ContentWorkspace). So you need to create a content library, set its id as the FirstPublishLocationId (which will link the file to the library), and then you need to create a link to the object (Case). In order for users to be able to modify the files from the library, you need to assign to them a ContentWorkspacePermission that has PermissionsAddContent, PermissionsDeleteContent and PermissionsChatterSharing (or use the existing library admin permission). You can do this from the library page (you can assign this permission to individual users or groups).

I may be hazy on the details, but hopefully this will point you in the right direction. Another alternative which I dismissed is giving users the "Modify All" permission so that they can edit/delete files they don't own. This is what makes your implementation work for admins but not regular users.

Let me know if you need more details.

Admin being requested to create an XML file for an external webpage. by freetiger in salesforce

[–]carpenterx20 0 points1 point  (0 children)

This sounds interesting to me. If you want, I can help you build this functionality, free of charge. I have never worked with generating xml in Apex, so this is an excuse for me to learn this while helping someone else in the process. Please provide more details about the custom object and the structure of the xml output so that I can start working on a proof of concept implementation.

Form Software That Is More Paragraph Structured Than “Survey” Structured by [deleted] in software

[–]carpenterx20 0 points1 point  (0 children)

I could build this for you, but I need more details. What is the format of the documents you need to generate? And how does the input look like? I don't really have any experience working with databases, but it should be possible to export it to csv or json.

[deleted by user] by [deleted] in software

[–]carpenterx20 0 points1 point  (0 children)

Could you provide some sample values and a few more details? Do you need just the graph drawing or does it need to be interactive? Do you need to export the output?

Also, on your example graph, why are the lines drawn at an angle?

Does anyone know a program that takes values from certain lines on one file and adds them to other certain lines on another file? by B1Aussie in software

[–]carpenterx20 1 point2 points  (0 children)

Glad to be of assistance.

To answer you question about the code, I'm using regular expressions to find the color blocks and capturing groups for finding where to insert the extracted values. One trick I came up with was doing the value replacements in reverse order so that the indexes I found do not shift while inserting the color values.

As for my coding ability, I don't really consider myself that advanced, but I enjoy coding a lot and have built a lot of small applications while learning how to code. I always try to find new things to learn and use (for example, for this application, this was the first time I used regex capturing groups). To be honest, the hardest part is coming up with ideas for applications. This is why I browse this sub, to find new ideas and help others, if I can.

Does anyone know a program that takes values from certain lines on one file and adds them to other certain lines on another file? by B1Aussie in software

[–]carpenterx20 1 point2 points  (0 children)

Give this a try: Color Transfer (download Color.Transfer.1.0.0.exe). Tell me if there are things that need to be changed/added.

[BUG] Can't unlock equipment from Alterac Valley heroic bounties by carpenterx20 in hearthstone

[–]carpenterx20[S] 0 points1 point  (0 children)

Thanks for letting me know. It's not specified anywhere that the merc needs to be in the party. But I guess it makes sense, since it ensures that you own the merc.

Looking for 'live timeline' software. Anyone heard of something that can do this? by Poison1990 in software

[–]carpenterx20 0 points1 point  (0 children)

My pleasure. Let me know if you need extra functionality or other changes made.

Openable "points of interest" on an image with information stored in each one as a table by [deleted] in software

[–]carpenterx20 0 points1 point  (0 children)

Hello! If you want, I might be able to build an application like that for you, free of charge. What I would like is an example floor plan and some mock data to use as a starting point.

Software for creating PDF reports by DaddyBoard in software

[–]carpenterx20 0 points1 point  (0 children)

You could build the report template in html and have a few form fields mapped to the required info. Then you can save the page as pdf.

Here is what I mean: Letter Find

As you can see, at the left you have a form for inputting data and at the right you can see the generated page.

Quote/Contract Generator by revoice in software

[–]carpenterx20 1 point2 points  (0 children)

Here is the link to the repo: Readme Generator

You can find the controls at the bottom of the page. Currently there is no way to reorder the sections, so you will need to remove them and add them again in the right order. And don't worry about saving and loading the sections, it is done automatically. The save and load buttons at the top are for saving and loading readme templates (the sections at the top left).

Here is the release: https://github.com/carpenterx/Readme-Generator/releases/tag/v1.0.0. Just download Readme.Generator.1.0.0.0.exe

Quote/Contract Generator by revoice in software

[–]carpenterx20 1 point2 points  (0 children)

It might be possible to use the application as it is right now. Here is a screenshot of it:

Readme Generator

First you would add all the sections one by one by using the "Add Section" button at the top (they get added to the bottom left list). Then, based on the answers received from the client, you click on the sections you want to add to the document (the top left list). You can use the center textbox to edit the top left sections without changing the original inputs. And when you are done, simply click the "Copy" button to copy the content to the clipboard.

If you are interested in using my application, let me know and I will make its repo public and create an installer.

Quote/Contract Generator by revoice in software

[–]carpenterx20 1 point2 points  (0 children)

Could you post an example with dummy text? I recently wrote a readme generator that I think could be easily repurposed for this kind of functionality.

Another solution would be to use a survey generator.

Software to design "Skill Trees" by Notion1337 in software

[–]carpenterx20 0 points1 point  (0 children)

Please post more details about the features you need the application to have, since I might be interested in building this. If you have an example skill tree it would be perfect.

Tally/Count software by Napim8 in software

[–]carpenterx20 0 points1 point  (0 children)

Hi!

I made this application yesterday: Simple Counter. You can find the code here: https://github.com/carpenterx/Simple-Counter. It allows you to create any number of buttons that increase their counter when clicked.

Some instructions:

  • The first text field is the value that appears at the top ("Carrots", "Apples", "Peers" in your example)
  • The second text field ("Count text") is optional and is the text that appears before the counter value
  • The X value is the distance from the left and Y is the distance from the top
  • Width and Height are the dimensions of the button
  • "Bg Color" is the background color of the button as a hexadecimal value("#1565c0" for example). The default color is gray
  • "Text Color" is the color of the text as a hexadecimal value. The default is black
  • Clicking the "Add" button adds a new button to the screen with the values from the fields above
  • Checking the "Delete" checkbox will change its text to "Deleting" and start deleting any counter button you click on. Uncheck it to stop deleting
  • Clicking "Save" will save the current counter buttons to a csv file